Forcibly disconnects the WhatsApp account currently linked to a specific user. If the user has an active WhatsApp connection, the session is terminated, sync is stopped and credentials are revoked. The response includes identifiers of the disconnected WhatsApp account and phone number together with a disconnected=true flag and the disconnection timestamp. If the user has no active WhatsApp account, the operation is treated as an idempotent no-op and returns disconnected=false. The call is still subject to standard partner authentication and workspace ownership checks.
JWT bearer authentication. The token payload must include partner_id, nbf (not-before) and exp (expiry) claims. All Partner API requests must be authenticated with Authorization: Bearer
The unique identifier for the partner.
The unique identifier for the workspace.
The unique identifier for the user.
WhatsApp disconnected
Response payload for a WhatsApp disconnect operation. Indicates whether a WhatsApp account was actually disconnected for the given user, provides the disconnection timestamp, and, when applicable, echoes the workspace_id, user_id, whatsapp_account_id and phone_number involved in the operation.
Unique identifier for the workspace
Unique identifier for the user
Indicates whether a WhatsApp account was disconnected
Timestamp of the disconnection event
"2024-01-01T12:00:00Z"
ID of the disconnected WhatsApp account
Phone number associated with the disconnected WhatsApp account
Additional information about the disconnection