---
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

---

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