Français
cURL
curl --request POST \ --url https://api.wachap.com/v1/whatsapp/disconnect \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "accountId": "<string>" } '
{ "success": true, "message": "<string>" }
Déconnectez un compte WhatsApp de votre système
Bearer sk_...
curl -X POST https://api.wachap.com/v1/whatsapp/disconnect \ -H "Content-Type: application/json" \ -H "Authorization: Bearer VOTRE_CLE_SECRETE" \ -d '{ "accountId": "account_abc123" }'
{ "success": true, "message": "Compte déconnecté avec succès" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID du compte à déconnecter
OK