Delete a CIMD user consent scope

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://openapi.logto.io/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Logto API references MCP server": {
    "url": "https://openapi.logto.io/mcp"
  }
}

Close
DELETE /api/cimd/user-consent-scopes/{scopeType}/{scopeId}

Remove a scope from the tenant-level permission ceiling for CIMD clients.

Path parameters

  • scopeType string Required

    The scope type.

    Values are organization-scopes, resource-scopes, organization-resource-scopes, or user-scopes.

  • scopeId string Required

    The unique identifier of the scope.

Responses

  • 204

    The scope was removed.

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    The scope relation was not found.

DELETE /api/cimd/user-consent-scopes/{scopeType}/{scopeId}
curl \
 --request DELETE 'https://[tenant_id].logto.app/api/cimd/user-consent-scopes/{scopeType}/{scopeId}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"