Français
cURL
curl --request DELETE \ --url https://api.wachap.com/v1/contact-groups/{id} \ --header 'Authorization: Bearer <token>'
Supprimez définitivement une liste de contacts et tous ses contacts
Bearer sk_...
curl -X DELETE https://api.wachap.com/v1/contact-groups/65f1234567890abcdef12345 \ -H "Authorization: Bearer VOTRE_CLE_SECRETE"
{ "success": true, "deletedContacts": 150 }
401
404
500
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK