DELETE
https://api.octopush.com/v1/public/sms-campaign/cancelEncodage : UTF-8
Authentification
Vos identifiants “api-key” et “api-login” doivent être ajoutés dans les headers.
Définition
Permet d’annuler une campagne envoyée sur une liste.
Paramètres particuliers
| Champ | Type | Description |
|---|---|---|
ticket_number | string | C’est le ticket de campagne transmis par Octopush après la création d’une campagne. |
Exemple Curl
curl -X DELETE \
'https://api.octopush.com/v1/public/sms-campaign/cancel' \
-H 'Content-Type: application/json' \
-H 'api-login: ******@email.org' \
-H 'api-key: ************' \
-H 'cache-control: no-cache' \
-d '{
"ticket_number": "sms_xx0000xx0000xx"
}'Code à copier-coller
curl -X DELETE 'https://api.octopush.com/v1/public/sms-campaign/cancel' -H 'Content-Type: application/json' -H 'api-login: ******@email.org' -H 'api-key: ************' -H 'cache-control: no-cache' -d '{"ticket_number": "sms_xx0000xx0000xx"}'