Skip to main content
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

Returns 204 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

authorization
string
required

Response

204 - undefined