Campaigns with status sending cannot be deleted. All other statuses (scheduled, sent, partially_sent, failed) can be deleted.
Your project UUID. Not required if the API key already encodes the project.
Path Parameters
Response
true on successful deletion
Human-readable confirmation
ID of the deleted campaign
curl -X DELETE "https://api.usegately.com/api/v1/campaigns/CAMPAIGN_ID" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "X-Project-ID: YOUR_PROJECT_ID"
{
"success": true,
"message": "Campaign deleted successfully",
"campaignId": "a1b2c3d4-e5f6-4789-abcd-ef1234567890"
}