Delete an SMS campaign
DELETE /sms_campaigns/{uuid}
/sms_campaigns/{uuid}Permanently deletes an SMS campaign together with its statistics. It cannot be undone. A scheduled campaign is cancelled and will not go out; messages already delivered are not recalled.
When to use: To remove a draft you no longer need, to stop a scheduled SMS (there is no operation to unschedule an SMS campaign), or to clear an old campaign and its results.
When not to use: To keep a copy of the campaign, use duplicate_sms_campaign first. For an email campaign, use delete_campaign. Automation campaigns cannot be deleted.
Side effects: Deletes the campaign and its statistics, whatever its status. Contacts are not affected.
Permissions: Requires the author role or higher, or the marketing.campaigns.delete capability.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the SMS campaign (the uuid field returned by list_sms_campaigns).
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://api.easymailing.com/sms_campaigns/b6c9e1f3-2a74-4d58-8e0b-3f7a5d1c9e42" \ -H "X-Auth-Token: YOUR_API_KEY"