/v1/users/logout endpoint to logout of the WhatsApp Business API Client. Logging out revokes the authentication token.
A user can create a logout request by making a
POST call to this endpoint.
POST /v1/users/logout Authorization: Bearer your-auth-token
The response to the logout request contains a
meta object in response body.
|HTTP Response Code||Result|
Success — The request was validated and the user is logged out of the account.
Error — The request was not validated and the user is not logged out of the account. An error code and information will present possible reasons for the error, such as invalid credentials.
If there are errors in the response, refer to the following sources for more information: