DELETE
https://api.octopush.com/v1/public/contact-list/deleteEncodage : UTF-8
Authentification
Vos identifiants « api-key » et « api-login » doivent être ajoutés dans les headers.
Définition
Ce web-service vous permet de supprimer une liste de contacts.
Ce service est synchrone.
Paramètres particuliers
| Nom | Type | Description |
|---|---|---|
list_name | string | Nom de la liste à supprimer. |
Exemple Curl
curl -X DELETE \
'https://api.octopush.com/v1/public/contact-list/delete' \
-H 'Content-Type: application/json' \
-H 'api-login: ******@email.org' \
-H 'api-key: ************' \
-H 'cache-control: no-cache' \
-d '{
"list_name": "my_list"
}'Code à copier-coller
curl -X DELETE 'https://api.octopush.com/v1/public/contact-list/delete' -H 'Content-Type: application/json' -H 'api-login: ******@email.org' -H 'api-key: ************' -H 'cache-control: no-cache' -d '{"list_name": "my_list"}'