---
title: "Revoke an MCP Personal Access Token"
method: DELETE
path: "/api/workspaces/{wid}/mcp/pats/{id}"
tags: ["MCP PATs"]
---

# Revoke an MCP Personal Access Token

`DELETE /api/workspaces/{wid}/mcp/pats/{id}`

## Path parameters

- `wid` string, required
- `id` string, required

## Response `204`

No Content

## Other responses

- `401` — not authenticated
- `404` — not found (or not a member of the workspace)
- `500` — internal error

## Changes

> 20 revisions in range; 1 could not be searched.

- **2026-06-16** `af0f859e5eaf` — 1 info
  - endpoint added
- **2026-05-22** `1ba39f384b63` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/agentserver/apis/agentserver-api/changes/api/workspaces/:wid/mcp/pats/:id/delete.md)

---

[API](https://skmtc.dev/agentserver/apis/agentserver-api.md) · [All operations](https://skmtc.dev/agentserver/apis/agentserver-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agentserver/agentserver-api/revisions/e8c329825b4e/schema)
