---
title: "Revoke Token"
method: POST
path: "/api/plugin-oauth/revoke"
tags: ["plugin-oauth"]
---

# Revoke Token

`POST /api/plugin-oauth/revoke`

## Request

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

Revokes a refresh grant and all of its access tokens.

## Headers

- `authorization` string, nullable

## Request body `application/x-www-form-urlencoded`

- BodyRevokeTokenApiPluginOauthRevokePost
  - `token` string, required
  - `client_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/maritime/apis/maritime-api.md) - [All operations](https://skmtc.dev/maritime/apis/maritime-api/llms.txt) - [OpenAPI document](https://skmtc.dev/maritime/apis/maritime-api/revisions/acd712090ad6?raw)
