DELETE
https://api.octopush.com/v1/public/sms-campaign-on-list/cancelEncoding : UTF-8
Authentication
Your “api-key” and “api-login” must be added in the headers.
Definition
This service allows you to cancel a campaign that’s is going to be sent to a list or using a tag.
Special parameters
Field | Type | Description |
---|---|---|
ticket_number | string | This is the ticket_number transmitted by Octopush after the call to the creation function |
Example Curl
curl -X DELETE \ 'https://api.octopush.com/v1/public/sms-campaign-on-list/cancel' \ -H 'Content-Type: application/json' \ -H 'api-login: ******@email.org' \ -H 'api-key: ************' \ -H 'cache-control: no-cache' \ -d '{ "ticket_number": "vocal_xx0000xx0000xx" }'
Command to copy/paste
curl -X DELETE 'https://api.octopush.com/v1/public/sms-campaign-on-list/cancel' -H 'Content-Type: application/json' -H 'api-login: ******@email.org' -H 'api-key: ************' -H 'cache-control: no-cache' -d '{"ticket_number": "vocal_xx0000xx0000xx"}'