Handles user logout process including session termination and client logout status update.
curl --request GET \
--url https://api.helpyousponsor.com/v1/logout \
--header 'Authorization: Bearer <token>' \
--header 'client_id: <client_id>'
{
"message": "Successfully logged out",
"status": "success"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Client ID to identify the user's client session
Logout successful
The response is of type object
.
curl --request GET \
--url https://api.helpyousponsor.com/v1/logout \
--header 'Authorization: Bearer <token>' \
--header 'client_id: <client_id>'
{
"message": "Successfully logged out",
"status": "success"
}