---
title: "OAuth 2.0 token revocation"
method: POST
path: "/oauth/revoke"
tags: ["OAuth"]
---

# OAuth 2.0 token revocation

`POST /oauth/revoke`

## Request

- Base URL: `https://api.purplegrain.com`
- URL: `https://api.purplegrain.com/oauth/revoke`
- Auth: none declared

Revokes an access or refresh token (RFC 7009). Body is `application/x-www-form-urlencoded`.
Same effect as `DELETE /api/v1/users/sign-out` when revoking the current access token.

## Response `200`

Token revoked or request acknowledged (per RFC 7009).

---

[API](https://skmtc.dev/purplegrain/apis/purple-grain-api.md) · [All operations](https://skmtc.dev/purplegrain/apis/purple-grain-api/llms.txt) · [OpenAPI document](https://skmtc.dev/purplegrain/apis/purple-grain-api/revisions/4bedbc1c784c?raw)
