Detach a role from a user.
| Permission | Description |
|---|---|
users.detach_role | Detach a role from any user except themselves |
No content is returned when the role is successfully detached.
| Status | Description | Reference |
|---|---|---|
| 400 | User does not have this role | |
| 401 | Unauthorized | Authentication error |
| 403 | Forbidden | Permission error |
| 404 | Role or user not found | Not-found error |