auth

Logout

Revoke the caller's current access token.

get_current_user authenticates the request (verifying the JWT and checking revocation status). We then look up the token's expiry from the principal cache — it is always present after get_current_user runs — and write the token hash to the revocation table.

The UI should also revoke the Clerk session so it is terminated at the identity-provider level.

post/api/v1/auth/logout

Request

  • Base URL
    https://cp.xenovia.io (the document declares no server; this is the origin it was published from)
  • URL
    https://cp.xenovia.io/api/v1/auth/logout
  • Auth
    none declared

Headers

Authorizationstring nullable

Response

Successful Response

Changes

No recorded changes to this operation across all 20 revisions of this API.