POST
https://api.octopush.com/v1/public/contact-list/emptyEncodage : 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 vider une liste de contact.
Ce service est synchrone.
Paramètres particuliers
| Nom | Type | Description |
|---|---|---|
list_name | string | Nom de la liste à vider. |
Exemple Curl
curl -X POST \
'https://api.octopush.com/v1/public/contact-list/empty' \
-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 POST 'https://api.octopush.com/v1/public/contact-list/empty' -H 'Content-Type: application/json' -H 'api-login: ******@email.org' -H 'api-key: ************' -H 'cache-control: no-cache' -d '{"list_name": "my_list"}'