Campaigns

UpdateAccounts

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.

post//api/public/campaign/UpdateAccounts

Request

  • Base URL: https://api
  • URL: https://api//api/public/campaign/UpdateAccounts
  • Auth: none declared

Headers

X-API-KEYstring

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

Request body

campaignIdinteger required
linkedInAccountIdsinteger[] required

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.