Delete a draft campaign

Delete a draft campaign that was never sent, the same as Delete in the workspace. A campaign that was sent is archived instead (conflict, not_a_draft). An archived campaign with no payment, no booked line and no introduction can be deleted too, and every delete is logged with who and when. Cannot be undone. Needs an idempotency_key. Scope: campaigns:write. MCP tool: delete_campaign.

delete/campaigns/{id}

Request

  • Base URL: https://app.distribution.tech/api/v1
  • URL: https://app.distribution.tech/api/v1/campaigns/{id}
  • 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
deletedunknown required

Changes

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