API For Sub-Accounts
Maximum number of items returned. Default: 30.
Page number of the requested data. Default: 1.
Field used for sorting: id, username, created_at, number_of_ips. Default: id.
Sorting order: desc or asc. Default: desc.
Filter by sub account username.
Filter by sub account status: 1 = enabled, 2 = disabled.
Search sub accounts by keyword.
Successful response.
Returns the list of sub accounts for the user.
Indicates whether the request was successful.
Response message.
Bad request.
Authentication error.
Number of IPs allocated to the sub account.
10Enable or disable automatic IP allocation from the main account. 0 = disabled, 1 = enabled.
Threshold for automatically adding IPs. When the sub account IP balance drops below this value, the main account will add IPs automatically.
50Number of IPs to automatically add when auto-add is triggered.
100Timestamp when the sub account will be automatically disabled.
Traffic amount allocated to the sub account (in bytes).
1000000000ID of the traffic plan used for allocation.
10Enable or disable automatic traffic allocation. 0 = disabled, 1 = enabled.
Threshold for automatically adding traffic. When the sub account traffic balance drops below this value, the main account will add traffic automatically.
1000000000Amount of traffic to automatically add when auto-add is triggered (in bytes).
1000000000ID of the traffic plan used when automatically adding traffic to the sub account.
11Password for the sub account.
sub_passwordNote for the sub account.
Note for subSuccessful response.
Returns the newly created sub account.
Indicates whether the request was successful.
Response message.
Bad request.
Authentication error.
ID of the sub account.
27535New password for the sub account.
sub_passwordNote for the sub account.
Note for subEnable or disable automatic IP allocation from the main account. 0 = disabled, 1 = enabled.
Threshold for automatically adding IPs. When the sub account IP balance drops below this value, the main account will add IPs automatically.
50Number of IPs to automatically add when auto-add is triggered.
100Timestamp when the sub account will be automatically disabled.
Enable or disable automatic traffic allocation. 0 = disabled, 1 = enabled.
Threshold for automatically adding traffic. When the sub account traffic balance drops below this value, the main account will add traffic automatically.
1000000000Amount of traffic to automatically add when auto-add is triggered (in bytes).
1000000000ID of the traffic plan used when automatically adding traffic to the sub account.
11Successful response.
Returns the update status of the sub account.
Indicates whether the request was successful.
Response message.
Bad request.
Authentication error.
ID of the sub account.
Successful response.
Returns the deletion status of the sub account.
Indicates whether the request was successful.
Response message.
Bad request.
Authentication error.
Last updated
Was this helpful?