COPS

Archive campaign

POST
/campaigns/{id}/archive

Archive a campaign (soft delete): history stays queryable, but the campaign is hidden from default lists and account defaults pointing at it are cleared so no future videos route to it. Prefer this over delete_campaign. Pass an id from list_campaigns.

Authorization

apiKeyAuth
headerx-api-key<token>

API key for authentication. Keys are prefixed with cops_.

Path Parameters

id*string
Match^prj_.+[\s\S]*$

Response Body

Response schema unavailable.

Example Request
curl -X POST 'https://cops.app/api/brand/campaigns/string/archive'
Example Response200
Empty