curl--location--request POST 'http://api.zoom.us/v2/accounts//phone/setup' \
--form'emergency_address=""' \
--form'extension_number="800"'
响应示例响应示例
201 - 示例 1
{}
请求参数
Path 参数
accountId
string
必需
Unique identifier of the account.
Body 参数multipart/form-data
emergency_address
object
必需
Specify emergency address for the account.
address_line1
string
必需
Specify the street address.
address_line2
string
可选
Specify any building number, floor number, or unit number.
city
string
可选
City of the emergency address. Required or optional dependent on different countries.
country
string
必需
Specify the two letter country code (Alpha-2 code in ISO-3166).
state_code
string
可选
State code of the emergency address. Required or optional dependent on the country and state.
zip
string
可选
Zip code of the emergency address. Required or optional dependent on different countries.
extension_number
string
必需
Specify extension number that will be associated with the owner of the account.
默认值:
800
示例值:
800
返回响应
🟢201**HTTP Status Codes** `201`<br>
Created.
application/json
Body
object{0}
🟠400**HTTP Response Code:** `400`<br>
**Error Codes:** `300`<br>
The extension number {0} that you entered is a reserved number and can not be used. Provide a different number and try again.<br>
This account is not enrolled in a Zoom Phone plan. Subscribe to
🟠401**HTTP Status Code:** `401`<br>
Unauthorized.<br>
**Error Code:** <br>
`124` Account does not exist: {accountId}.<br>