Users
Remove role from user
Remove an API resource role from the user.
delete/api/users/{userId}/roles/{roleId}
Request
- Base URL: https://[tenant_id].logto.app
- URL: https://[tenant_id].logto.app/api/users/{userId}/roles/{roleId}
- Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)
Path parameters
userIdstring required
The unique identifier of the user.
roleIdstring required
The unique identifier of the role.
Response
The API resource role has been removed from the user.
Changes
No recorded changes to this operation across all 8 revisions of this API.