Skip to navigation

UpdateAccounts

View as Markdown

Replaces the entire list of LinkedIn sender accounts assigned to a campaign.

This is a full replacement, not a merge. Any account not in the new list will be removed. On a PAUSED campaign, leads assigned to a removed account will be stopped and cannot be resumed.

Allowed statuses: DRAFT, SCHEDULED, PAUSED. Returns 400 for any other status (e.g. IN_PROGRESS, FINISHED). For SCHEDULED campaigns the campaign reverts to DRAFT.

Body Parameters

  • campaignId (long, required): The campaign to update.

  • linkedInAccountIds (int[], required): Full replacement list of sender account IDs. 1-100 items. All accounts must exist and have valid auth.

Headers

X-API-KEYstringOptional

API key header using this scheme. Example: “X-API-KEY: {API_KEY}”

Request

This endpoint expects an object.
campaignIdintegerRequired
linkedInAccountIdslist of integersRequired