---
title: "POST /oauth/revoke"
method: POST
path: "/oauth/revoke"
---

# POST /oauth/revoke

`POST /oauth/revoke`

## Request

- Base URL: `https://api.useanima.sh/v1`
- URL: `https://api.useanima.sh/v1/oauth/revoke`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

## Request body

- object: Revoke an access or refresh token
  - `token` string, required: Either an access token or a refresh token
  - `tokenTypeHint` 'access_token' | 'refresh_token': Hint to skip one of the two lookups (RFC 7009 §2.1)

## Response `200`

OK

- object: Revocation acknowledgment
  - `revoked` boolean, required

---

[API](https://skmtc.dev/useanima/apis/anima-api.md) · [All operations](https://skmtc.dev/useanima/apis/anima-api/llms.txt) · [OpenAPI document](https://skmtc.dev/useanima/apis/anima-api/revisions/aaa148188980?raw)
