Subscribe a sub account to a Zoom plan using your master 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.
Scopes: billing:master
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location--request POST 'http://api.zoom.us/v2/accounts//plans'
响应示例响应示例
200 - 示例 1
null
请求参数
Path 参数
accountId
string
必需
The account ID.
Body 参数multipart/form-data
object{0}
返回响应
🟢200**Error Code:** `200`<br>
One zuora account only can have one active billing subscription.<br>
Can’t subscribe 25-participants pro plan for this sub-account.<br>
Can’t subscribe 50-participants pro plan for this sub-account.<br>
In order to take advantage
application/json
Body
No schema defined
🟢201**HTTP Status Code:**`201`<br>
Account plans updated.
🔵300**Error Code**: `300`<br>Account can’t buy this plan.<br>
Buy hosts must equal or larger than {minBuyHost}.<br>
Buy hosts must equal or smaller than {maxBuyHost}.<br>
Buy hosts must equal or smaller than 9999.<br>
Active hosts must be equal or larger than
🟠404**HTTP Status Code:** `404`<br> **Error Code:** `1001`<br> User does not exist.<br>
**Error Code:** `2001`<br> Account does not exist: {subAccountId}.<br>