Roles

Remove role from user

Remove a role from a user with the given ID.

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

Request

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

Path parameters

idstring required

The unique identifier of the role.

userIdstring required

The unique identifier of the user.

Response

The role was removed from the user.

Changes

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