An account owner of a Zoom account can establish a Zoom Rooms Location Hierarchy to better organize Zoom Rooms spread accross various location. The location can be structured in a hierarchy with Country being the top-level location, followed by city, campus, building, and floor. The location in the lower level in the hierarchy is considered as a child of the location that is a level above in the hierarchy. Use this API to change the parent location of a child location.
For instance, if the location hierarchy is structured in a way where there are two campuses (Campus 1, and Campus 2) in a City and Campus 1 consists of a building named Building 1 with a floor where Zoom Rooms are located, and you would like to rearrange the structure so that Building 1 along with its child locations (floor and Zoom Rooms) are relocated directly under Campus 2 instead of Campus 1, you must provide the location ID of Building 1 in the path parameter of this request and the location ID of Campus 2 as the value of parent_location_id in the request body.
Prerequisite:
Account owner or admin permission
Zoom Rooms version 4.0 or higher Scopes:room:write:admin
curl--location--request PUT 'http://api.zoom.us/v2/rooms/locations//location'
响应示例响应示例
204 - 示例 1
null
请求参数
Path 参数
locationId
string
必需
Body 参数multipart/form-data
parent_location_id
string
可选
Location ID of the new Parent Location under which you the child location will be positioned. This can be retrieved from the List Zoom Room Locations API.
返回响应
🟢204**HTTP Status Code:** `204` **No Content**<br>
Location assigned successfully.
application/json
Body
No schema defined
🟠400**HTTP Status Code:** `400` **Bad Request**<br><br>
**Error Code:** `200`<br> Zoom Room subscription not found. Try again after purchasing a Zoom Room subscription.<br>
**Error Code:** `300`<br> Invalid parent location id {parent_location_id}
🟠404**HTTP Status Code:** `404` **Not Found**<br><br>
**Error Code:** `4801`<br> Location not found:{parent_location_id}.