Skip to content

Logout

Invalidates the current access token. User must be authenticated.

HTTP Request

POST /api/v1/auth/logout

Response

204 No Content

Indicates a successful logout.

Error Handling

A failed logout (e.g., invalid or missing credentials) returns:

401 Unauthorized

json
{
  "message": "Unauthenticated."
}