Campaigns
Delete a draft campaign
Delete a draft campaign after checking its identity and state.
Personal token scopes: campaigns:write. Your account must also have access to the requested data. Authentication
DELETE
- It is not allowed to delete an already sent campaign. An error will be thrown (403 Forbidden).
Personal access tokens: campaigns:write. Every listed scope is required; the token owner's permissions, feature availability and newsroom access still apply.
API_keyheader
AuthorizationBearer <token>Bearer authentication using an integration API key, or a personal access token only where the operation explicitly supports it. Every listed personal-token scope is required; owner permissions and newsroom access still apply.
id*numberCampaign ID
No Content
curl -X DELETE 'https://api.prezly.com/v2/campaigns/0'Example Response
Empty