Remove a API resource role 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://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/applications/{applicationId}/roles/{roleId}

Remove a API resource role from the specified application.

Path parameters

  • applicationId string Required

    The unique identifier of the application.

  • roleId string Required

    The unique identifier of the role.

Responses

  • 204

    The API resource role has been removed from the application successfully.

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Not Found

  • 422

    Unprocessable Content

DELETE /api/applications/{applicationId}/roles/{roleId}
curl \
 --request DELETE 'https://[tenant_id].logto.app/api/applications/{applicationId}/roles/{roleId}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"