Update a base plan of a sub account.This API can only be used by master accounts that pay all billiing charges of their associated Pro or higher sub accounts. Zoom allows only approved partners to use master APIs and manage sub accounts' subscriptions. Email the partner programs team at partner-success@zoom.us for more details.
curl--location--request PUT 'http://api.zoom.us/v2/accounts//plans/base' \
--form'hosts=""' \
--form'type=""'
响应示例响应示例
200 - 示例 1
{}
请求参数
Path 参数
accountId
string
必需
The account ID.
Body 参数multipart/form-data
hosts
integer
必需
Account base plan number of hosts. For a Pro Plan please select a value between 1 and 9. For a Business Plan please select a value between 10 and 49. For a Education Plan please select a value between 20 and 149. For a Free Trial Plan please select a value between 1 and 9999.
🟢200**Error Code:** `200`
Free trial and VIP account can't update sub plan.<br>
You do not have a subscription yet.<br>
application/json
Body
object{0}
🟢204**HTTPS Status Code:** `204`<br>
Base plan updated.
🔵300**Error Code:** `300`<br>
Insufficient number of hosts for business plan type.<br>
Insufficient number of hosts for education plan type.<br>
Plan types do not match, oldPlanType: {oldPlanType} newPlanType: {newPlanType}.<br>
🟠400**HTTP Status Code:** `400`<br>
**Error Code:** `2100`<br>
This sub account is on self pay mode.<br>
Cannot makes updates when account is subscribed to a bundle plan.<br>
This account is not under a free trial plan.<br>
The account currently has {0} paid
🟠404**HTTP Status Code:** `404`<br>
**Error Code:** `1001`<br>
User does not exist.
**Error Code:** `2001`<br>
Account does not exist: {subAccountId}.