# Revoke MCP Token

`DELETE /mcp/tokens/{jti}` · Core · MCP

Revokes an MCP token by its `jti`. The MCP endpoint refuses it from then on. A token that isn't this project's answers 404.

## Parameters

| Name | In | Required | Description |
|---|---|---|---|
| `jti` | path | yes |  |
| `projectSlug` | path | yes | The project's slug: the path segment after `@`. It is unique within the org. Example: `"storefront"`. |

## Responses

- **200**: Success

| Field | Type | Required | Description |
|---|---|---|---|
| `data` | object | yes |  |
| `data.tokenId` | string | yes | The revoked token's id. |
| `data.revoked` | enum (true) | yes | Always true. |
| `data.parkedCallsRefused` | integer | yes | How many calls made with this token that were held for approval and had not started were refused. A call already running is stopped at its next check. |
| `meta` | object | yes |  |


## Errors

| HTTP | Code | When |
|---|---|---|
| 401 | `K9O_UNAUTHENTICATED` | The caller is not signed in. |
| 403 | `K9O_IAM_POLICY_DENIED` | The caller did not mint this token and the project's ceiling denies mcp_servers.revoke_tokens (context.reason mcp_servers_revoke_tokens_deny). |
| 404 | `K9O_NOT_FOUND` | No such MCP token on this project; an end user, a delegated agent, a sandbox caller or a non-member reads the same. |

## Code samples

### cURL

```bash
curl -X DELETE 'https://<org>.api-<region>.k9o.io/@storefront/mcp/tokens/<jti>' \
  -H 'Authorization: Bearer $K9O_TOKEN'
```

### fetch

```javascript
const res = await fetch('https://<org>.api-<region>.k9o.io/@storefront/mcp/tokens/<jti>', {
  method: 'DELETE',
  headers: {
    'Authorization': `Bearer ${process.env.K9O_TOKEN}`
  },
});
const { data, meta } = await res.json();
```


Canonical page: https://docs.kilimanjaro.dev/api-playground/core/revoke-mcp-token
