---
title: "Revoke the calling agent Bearer token"
method: POST
path: "/api/v1/agent/revoke"
---

# Revoke the calling agent Bearer token

`POST /api/v1/agent/revoke`

## Request

- Base URL: `https://allmcps.com`
- URL: `https://allmcps.com/api/v1/agent/revoke`
- Auth: OAuth 2 (client credentials, token URL `https://allmcps.com/api/v1/agent/register/confirm`)

Revokes the token used to authenticate this request. Requires a valid (not-yet-revoked) Bearer token — no additional scope needed to revoke your own token.

## Response `200`

Token revoked.

- object
  - `success` boolean
  - `message` string

## Other responses

- `401`: Missing or invalid Bearer token.

---

[API](https://skmtc.dev/allmcps/apis/allmcps-directory-api.md) · [All operations](https://skmtc.dev/allmcps/apis/allmcps-directory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/allmcps/apis/allmcps-directory-api/revisions/0a42338f0f1e?raw)
