DELETE
https://api.octopush.com/v1/public/sms-campaign-on-list/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 ou en utilisant un tag.
Paramètres particuliers
| Champ | Type | Description |
|---|---|---|
ticket_number | string | C’est le ticket de campagne transmis par Octopush après l’appel à la fonction de création |
Exemple 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": "sms_xx0000xx0000xx"
}'Code à copier-coller
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": "sms_xx0000xx0000xx"}'