auth

Logout

Revokes the caller's entire refresh-token family (all devices/sessions sharing that refresh_token's lineage), given refresh_token in the body. 401 if the token doesn't resolve to the caller.

post/auth/logout

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/auth/logout
  • Auth: one of:
    • API key in header Authorization
    • API key in header X-API-Key

Request body

refresh_tokenstring

Response

OK

successboolean

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.