campaigns

Archive campaign

Archive a campaign. The campaign is hidden immediately and moved to ARCHIVED in the background (async — returns 202).

post/v1/campaigns/{id}/archive

Request

  • Base URL: https://api.botdog.co
  • URL: https://api.botdog.co/v1/campaigns/{id}/archive
  • Auth: API key in header x-api-key

Path parameters

idstring required

Response

campaignIdstring required

The campaign identifier

status'deletion_requested' | 'archival_requested' required

The accepted async operation. The campaign is hidden immediately and removed/archived in the background.

Example response

{
  "status": "deletion_requested"
}

Changes

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