Remove role from user
Remove an API resource role from the user.
Path parameters
-
The unique identifier of the user.
-
The unique identifier of the role.
DELETE
/api/users/{userId}/roles/{roleId}
curl \
-X DELETE https://[tenant_id].logto.app/api/users/{userId}/roles/{roleId} \
-H "Authorization: Bearer $ACCESS_TOKEN"