---
title: "Revoke Token"
method: POST
path: "/oauth2/revoke"
tags: ["Auth API"]
---

# Revoke Token

`POST /oauth2/revoke`

This endpoint lets you revoke an authorization token. This endpoint only supports authorization for the code grant flow.

## Headers

- `Authorization` string, required

## Response `200`

ok

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.net/grubtech/apis/grubtech-auth-server.md) · [All operations](https://skmtc.net/grubtech/apis/grubtech-auth-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/grubtech/grubtech-auth-server/revisions/21688b6dcb69/schema)
