Delete an email campaign
DELETE/api/partner-gateway/campaigns/email/:id
Deletes an email campaign that has not started. This cannot be undone.
- Not yet confirmed, or with its checks running or failed: it can always be deleted.
- Confirmed (
PRE_BILLEDorHUMAN_REVIEW): only while itsscheduledDateis still outside the platform's edit window. Deleting it releases the reserved credit. - From
READYonwards the campaign is being prepared or sent and can no longer be deleted.
Request
Responses
- 200
- 400
- 401
- 404
Campaign deleted. The body is {"status": "success", "data": null}.
The campaign is READY or later, or its scheduledDate is inside the edit window.
The API key is missing or invalid, or holds neither CAMPAIGNS nor EMAIL.
No email campaign with this ID in your account.