Organizations

Remove a role from a user in an organization

Remove a role assignment from a user in the specified organization.

delete/api/organizations/{id}/users/{userId}/roles/{organizationRoleId}

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/organizations/{id}/users/{userId}/roles/{organizationRoleId}
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Path parameters

idstring required

The unique identifier of the organization.

userIdstring required

The unique identifier of the user.

organizationRoleIdstring required

The unique identifier of the organization role.

Response

The role was removed from the user successfully.

Changes

No recorded changes to this operation across all 8 revisions of this API.