JavaScript SDK: swarmhit.accounts.connections.withdraw(accountId, identifier)
Withdraw a pending connection request from this sender to a profile. Safe to call when nothing is pending: alreadyGone is true when LinkedIn had no pending invitation to cancel. It also marks the logged invitation withdrawn. Uses no cap, and works while the sender is paused.
Authorization
bearerAuth An API key created on the Access tokens page.
In: header
Path Parameters
The profile's public identifier (username).
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/accounts/string/connections/string"{ "data": { "withdrawn": true, "alreadyGone": true }}Visit a profile POST
**JavaScript SDK:** [`swarmhit.accounts.profiles.visit(accountId, params)`](/smart-api/sdk/methods#accounts.profiles) Visit a LinkedIn profile from this sender account, registering a real profile view (the target sees it). Counts against the sender's daily profile-view cap.
Re-check a mailbox's domain POST
**JavaScript SDK:** [`swarmhit.emailAccounts.checkDns(emailAccountId)`](/smart-api/sdk/methods#emailAccounts) Read the sending domain's SPF, DKIM and DMARC records now and return the mailbox with its updated `dnsHealth`. The records are also re-read once a day and right after a mailbox connects, so this is only needed after changing DNS.