Disconnect or remove a sender account. Soft-deletes active LinkedIn accounts; hard-deletes everything else.
type and current status:
disconnected — hard-delete the row.status: "disconnected"). Campaign history stays intact.conversations but the sender account itself is gone. Confirm with the human before calling.In-flight campaigns will start failing at the provider boundary once the account is gone. Pause any active campaigns whose sender_accounts include this account first, or delete senders only from draft campaigns.404 means the account was never yours. Account ownership is checked via user_id. A 404 here is not a “try again” — it’s “wrong id” or “not your workspace.”500 only for DB delete failure. Upstream Unipile / Instantly / AgentMail errors are swallowed and do not produce a 500.This endpoint only exposes DELETE. There is no GET /api/accounts/{id} or PATCH /api/accounts/{id} — use listAccounts to read and updateSettings (via the campaign_account section) to change sender limits.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Account UUID.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Account removed (or soft-disconnected for connected LinkedIn accounts). No body fields beyond success: true.
true