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.
🟢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}.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location--request PUT 'http://api.zoom.us/v2/phone/company_number'