Login & Register
Logout user
The Logout User API initiate the logout process for a user. Upon a successful request, the API responds with a confirmation message. If the user is not found or there’s an issue with the request, an error response is returned with an appropriate message.
POST
/
auth
/
logout
Authorizations
Authorization
string
headerrequiredAccess token
Response
200 - application/json
message
string
A descriptive message confirming the success or failure of the operation.
success
boolean
Indicates whether the request was successful or failure (true for success, false for failure).
content
object
An object containing the response content.