Archive a campaign

Take one campaign out of the list, the same as Archive in the workspace. Refused while a payment is in progress or any of its work is paid or booked (conflict, has_committed_work). Archiving an archived campaign returns when it was archived. An archived campaign still reads in campaign_status with archived_at set and stage Archived; renaming it or setting its guidelines is refused. Needs an idempotency_key. Scope: campaigns:write. MCP tool: archive_campaign.

post/campaigns/{id}/archive

Request

  • Base URL: https://app.distribution.tech/api/v1
  • URL: https://app.distribution.tech/api/v1/campaigns/{id}/archive
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Headers

Idempotency-Keystring required

8 to 128 letters, digits or . _ : -. Retry with the same key and the same request to get the same answer; it never runs twice.

Response

OK

campaign_idstring uuid required
archived_atstring date-time required

Changes

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