Open Inventory / Docs
EndpointsAuthenticationAuthLogout

Revoke the current bearer token

The API runs on your application instance. Schemas and field names come directly from the OpenAPI specification. Session-authenticated requests require a session on that instance.

POST
/auth/logout

Authorization

bearerAuth
headerAuthorizationBearer <inv_ token>

Header Parameters

X-Organization-ID?string

Organization membership selected for this request. User-bound credentials may select any active membership; standalone tokens may only repeat their pinned organization ID.

Formatuuid

Response Body

Token revoked

Example Request
curl -X POST 'https://inventory.example.com/api/v1/auth/logout'
Example Response
Empty