Campaigns
Delete a campaign
DELETE
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.
bearerAuthheader
AuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringFormat
uuidIf-Match?stringOptional strong ETag (or *) from a prior response. A stale tag returns 412 without changing the resource.
Campaign archived. The response has no body.
curl -X DELETE 'https://api.kejue.co/v1/campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
Empty