Delete campaign draft
DELETE/v1/public/campaigns/:campaignId
Deletes a campaign draft. Only campaigns in DRAFT status can be deleted; the campaign's user template is deleted with it. Deletion cannot be undone via API.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Deletion result.
The request is invalid.
A valid Public API token is required.
The endpoint requires a scope that is not granted to the token.
The requested resource was not found.
Only campaigns in DRAFT status can be deleted.
The current API key exceeded the configured rate limit.
Response Headers
Retry-After
Number of seconds after which the request may be retried safely.
Internal server error.