Remove organization application role

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

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

  • Bad Request

  • Unauthorized

  • Forbidden

  • Cannot find the record to delete.

  • The application is not associated with the organization.

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