An account owner of a Zoom account can establish a Zoom Rooms Location Hierarchy to better organize Zoom Rooms spread accress various location. The location can be structured in a hierarchy with Country being the top-level location, followed by city, campus, building, and floor. Use this API to assign a new location for a Zoom Room. Note that the Zoom Room can be assigned only to the lowest level location available in the hierarchy. Prerequisite:
Account owner or admin permission
Zoom Rooms version 4.0 or higher Scopes:room:write:admin Rate Limit Label:Light
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location--request PUT 'http://api.zoom.us/v2/rooms//location'
响应示例响应示例
204 - 示例 1
null
请求参数
Path 参数
roomId
string
必需
Unique Identifier of the Zoom Room.
Body 参数multipart/form-data
location_id
string
可选
Location ID of the location where Zoom Room is to be assigned. This can be retrieved from the id property in the response of List Zoom Rooms Locations API.
返回响应
🟢204**HTTP Status Code:** `204` **No Content**<br>
Location of the Zoom Room changed successfully.
application/json
Body
No schema defined
🟠400**HTTP Status Code:** `400` **Bad Request**<br>
**Error Code:** `200`<br>
Zoom Room subscription not found. Try again after purchasing a Zoom Room subscription.
🟠404**HTTP Status Code:** `404` **Not Found**<br><br>
**Error Code:** `4801`<br>
Location not found:{location_id}