cURL
curl --request POST \ --url https://api.example.com/api/v1/campaign/cancel/ \ --header 'Content-Type: application/json' \ --data ' { "campaign_uid": "<string>" } '
{ "message": "<string>" }
Cancels the given campaign. If campaign is running, this will also stop all future scheduled emails. Existing campaign data will remain as it is. Once cancelled, this campaign cannot be restarted.
Success