Remove organization application role

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/organizations/{id}/applications/{applicationId}/roles/{organizationRoleId}

Remove a role from the application in the organization.

Path parameters

  • id string Required

    The unique identifier of the organization.

  • applicationId string Required

    The unique identifier of the application.

  • organizationRoleId string Required

    The unique identifier of the organization role.

Responses

  • 204

    The role was removed from the application in the organization successfully.

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Cannot find the record to delete.

  • 422

    The application is not associated with the organization.

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