---
title: "Revoke one scope from the current user's MCP client"
method: DELETE
path: "/rest/v1/user/mcp_grants"
tags: ["User"]
---

# Revoke one scope from the current user's MCP client

`DELETE /rest/v1/user/mcp_grants`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/owasp/apis/opencre-rest-api/docs/rest/v1/user/mcp_grants/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `scope` 'myopencre:read' | 'myopencre:write', required: The OpenCRE scope to grant or revoke.

## Response `200`

The scopes currently granted

- object
  - `granted` string[], required

## Other responses

- `400`: Unknown or missing scope
- `401`: Not authenticated
- `403`: Requires a browser session

## Changes

- **2026-10-14** `6b7451b341bb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/owasp/apis/opencre-rest-api/changes/rest/v1/user/mcp_grants/delete.md)

---

[API](https://skmtc.dev/owasp/apis/opencre-rest-api.md) - [All operations](https://skmtc.dev/owasp/apis/opencre-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/owasp/apis/opencre-rest-api/revisions/6b7451b341bb?raw)
