Remove user consent scope from application.

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://bump.sh/logto/doc/logto-management-api/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Logto Management API MCP server": {
  "url": "https://bump.sh/logto/doc/logto-management-api/mcp"
}
Close
DELETE /api/applications/{applicationId}/user-consent-scopes/{scopeType}/{scopeId}

Remove the user consent scope from an application by application id, scope type and scope id

Path parameters

  • applicationId string Required

    The unique identifier of the application.

  • scopeType string Required

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

  • scopeId string Required

    The unique identifier of the scope.

Responses

  • 204

    The user consent scope is removed from the application successfully

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    The application or scope is not found

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