Removes a user from a single office. You specify the office from which you want to remove the user in the
designatedOffice request body.
The user still maintains their other office, region, company, and account associations.
Note: You cannot remove a user from their default office. You must first assign the user a different default office by using the Users::updateUser method.
You must have the correct Member Management permissions.
Rooms Version 5:
canManageCompanyMembers must be set to true.
Rooms Version 6: You must have at least one of the following permissions set to true, depending on the level of the user that you want to add or remove:
canManageMemberLowerAccessLevel: Users can add or remove other users who have a lower access level than their own (in offices or regions that they oversee) from a region or office.
canManageMemberSameAccessLevel: Users can modify other users who have the same access level as their own (in offices or regions that they oversee or belong to) from a region or office.
(Required) The id of the user.
(Required) The globally unique identifier (GUID) for the account.
User successfully removed from the office.
Bad request. See ErrorCode and Message for details
Not authorized to make this request.