cURL
curl --request POST \ --url https://api.joinworth.com/auth/api/v1/customer/logout \ --header 'Authorization: Bearer <token>'
{ "status": "success", "message": "Logout successful" }
Logs out a customer user by invalidating their session or token.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
The response is of type object.
object
Was this page helpful?