linkedin_withdraw_invitation
Withdraw PENDING sent connection invitations by invitation_urn (up to 25 per call; call again for more). IRREVERSIBLE: a withdrawn invitation cannot be restored, and LinkedIn does not let you invite the same person again for a while (it says up to 3 weeks). First list with linkedin.list_invitations_sent and pick by sent_at (its invitation_urn values are what this takes). Each withdrawal is spaced 1-4 seconds, so a full batch takes a minute or two. Answers a result per urn: withdrawn, not_found (not pending any more), lookup_incomplete (the sent list could not be read to its end; may still be pending), failed (with LinkedIn's http_status/code) or not_attempted (the batch stopped on an expired session or a rate limit; see stopped; the call then answers an error with the per-urn data), plus totals. Nothing is retried.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| invitation_urn | No | A single invitation_urn, instead of invitation_urns | |
| from_account_id | No | Which of the workspace's LinkedIn accounts to act as (its id from channels.list). Connections, invitations and search results are that person's own network. OMIT to use the default LinkedIn account (in a LinkedIn conversation, the account that conversation belongs to); pass it whenever the workspace has more than one. An account this workspace cannot use is refused, never swapped for another. | |
| invitation_urns | No | invitation_urn values from linkedin.list_invitations_sent (urn:li:fs_relInvitation:<id>) |