Logout
Auth
Logout
/auth/logout
POST
Logout
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
/auth/logout The/auth/logout endpoint allows users to log out and invalidate their access token, thereby revoking access to protected resources.
Method:POST
Response:Upon successful logout, the endpoint returns a confirmation message in the response body.
- message (string): A confirmation message indicating successful logout.