---
title: "Admin Revoke Demo Credential"
method: POST
path: "/admin/demo-credentials/{credential_id}/revoke"
---

# Admin Revoke Demo Credential

`POST /admin/demo-credentials/{credential_id}/revoke`

## Request

- Base URL: `https://api.local-mcp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.local-mcp.com/admin/demo-credentials/{credential_id}/revoke`
- Auth: none declared. Required headers: `x-admin-key`

Revokes the credential and every token, refresh token and code it issued.

## Path parameters

- `credential_id` integer, required

## Headers

- `x-admin-key` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/local-mcp/apis/lmcp-api.md) · [All operations](https://skmtc.dev/local-mcp/apis/lmcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/local-mcp/apis/lmcp-api/revisions/f1f1c502623a?raw)
