The main company number can be used by external callers to reach your phone users (by dialing the main company number and the user's extension). It can also be used by phone users in your account as their caller ID while making calls.
curl--location--request PUT 'http://api.zoom.us/v2/phone/company_number'
响应示例响应示例
204 - 示例 1
null
请求参数
Body 参数multipart/form-data
返回响应
🟢204**HTTP Status Code:** `204` **No Content**<br>
Main company number updated successfully.
application/json
Body
🟠400**HTTP Status Code:** `400` **Bad Request**<br>
**Error Code:** `400`<br><br>
Target phone number can not be set as main company number.<br>
Unable to update this number as it is used for outbound caller ID to public safety answering point.
🟠404**HTTP Status Code:** `404` **Not Found**<br><br>
**Error Code:** `404`
phoneNumber does not exist, phonenumberId:{phonenumberId}.