Skip to main content

Delete a campaign

DELETE 

/campaigns/:id

Deletes a campaign and every creative in it, and returns the campaign with deletedAt set. Nothing is destroyed: POST /campaigns/{campaignId}/undelete restores the campaign and the creatives that went with it, and ?showDeleted=true still reads it. A campaign holding a creative that is QUEUED or GENERATING cannot be deleted yet. Deleting spends and refunds no credits and never cancels a run.

Request​

Responses​

OK. The deleted campaign, deletedAt set (or the replay of an earlier delete with this key).

Response Headers
    ETag

    Strong hash of this response body.