cURL
Auth
Logout
POST
cURL
Revokes the current user’s access token and ends the session.
Authentication
This endpoint requires authentication via Bearer token in the Authorization header.Example Request
Response
Returns204 No Content on success.
What Happens
- Current access token is revoked
- User session is ended
- Future requests with this token will fail with 401
- User must login again to get a new token
Common Errors
401 Unauthorized
Authentication required. Provide a valid bearer token.Headers
Response
204 - undefined