DELETE
/organization/users/{user_id}/roles/{role_id}Unassign organization role from user
Unassigns an organization role from a user within the organization.
user_idstringrequired
The ID of the user to modify.
role_idstringrequired
The ID of the organization role to remove from the user.
200Organization role unassigned from the user successfully.
objectstringrequired
Identifier for the deleted assignment, such as `group.role.deleted` or `user.role.deleted`.
deletedbooleanrequired
Whether the assignment was removed.
400The request parameters are invalid or the requested operation cannot be performed.
errorobjectrequired
403The caller does not have permission to perform this operation.
errorobjectrequired
Details about the permission error.
404The endpoint is unavailable or a requested resource was not found in this organization or project.
errorobjectrequired
429The request was rejected because a rate limit was exceeded.
errorobjectrequired
Error handling
A 400 is returned: The request parameters are invalid or the requested operation cannot be performed. A 403 is returned: The caller does not have permission to perform this operation. A 404 is returned: The endpoint is unavailable or a requested resource was not found in this organization or project. A 429 is returned: The request was rejected because a rate limit was exceeded.