---
title: "Revoke an access token or refresh token."
method: POST
path: "/oauth/revoke"
tags: ["OAuth"]
---

# Revoke an access token or refresh token.

`POST /oauth/revoke`

Form Parameters:
    token: The token to revoke (access_token or refresh_token)
    token_type_hint: Optional hint about token type ('access_token' or 'refresh_token')

Returns:
    200 response (always returns 200 per RFC 7009, even for invalid tokens)

## Response `default`

Default error response

- Error
  - `code` integer — Error code
  - `status` string — Error name
  - `message` string — Error message
  - `errors` object — Errors

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `405` — Method not allowed
- `409` — Conflict
- `500` — Internal server error

---

[API](https://skmtc.net/archera/apis/archera-ai-api.md) · [All operations](https://skmtc.net/archera/apis/archera-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/archera/archera-ai-api/versions/ed4f8fa35f31/schema)
