---
title: "Revoke an OAuth token (RFC 7009)"
method: POST
path: "/v1/oauth/revoke"
tags: ["OAuth"]
---

# Revoke an OAuth token (RFC 7009)

`POST /v1/oauth/revoke`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/oauth/revoke`
- Auth: none required

Revokes an access token or refresh token. The authorization server
invalidates the token so it can no longer be used. Follows RFC 7009.

## Request body

- object
  - `token` string, required: The token to revoke (access_token or refresh_token)
  - `token_type_hint` 'access_token' | 'refresh_token': Hint about the type of token being revoked

## Response `200`

Token revoked successfully (or was already invalid)

- object
  - `revoked` boolean

---

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