Skip to Content
Campaigns

Delete a campaign

Permissioncampaigns:deleteAdd-onCampaignsAuthentication
DELETE
/campaigns/{id}

Archives a campaign. Only a draft, completed, or stopped campaign can be deleted — stop a live one first, which is what keeps a delete from silently abandoning queued calls. Calls the campaign already placed are unaffected and remain in call history. Use If-Match for optimistic concurrency.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Use a Voice API key or connected-app OAuth access token. Authentication.

Path Parameters

id*string
Formatuuid

Header Parameters

If-Match?string

Optional strong ETag (or *) from a prior response. A stale tag returns 412 without changing the resource.

Response Body

Campaign archived. The response has no body.

Example Request
curl -X DELETE 'https://api.kejue.co/v1/campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
Empty