---
title: "Revoke a token (RFC 7009): a wzr_ refresh token ends its grant, a wz_ access token only itself"
method: POST
path: "/api/oauth/revoke"
tags: ["oauth"]
---

# Revoke a token (RFC 7009): a wzr_ refresh token ends its grant, a wz_ access token only itself

`POST /api/oauth/revoke`

## Request

- Base URL: `https://api.wizbi.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wizbi.ai/api/oauth/revoke`
- Auth: none declared

## Response `200`

Revoked or ignored (unknown tokens and other clients’ tokens).

- object
  - `ok` true, required

## Other responses

- `401`: invalid_client: a client named itself and failed authentication.

---

[API](https://skmtc.dev/wizbi/apis/wizbi-core-api.md) · [All operations](https://skmtc.dev/wizbi/apis/wizbi-core-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wizbi/apis/wizbi-core-api/revisions/5a47416c82ec?raw)
