Resellers
Reseller Account Management
Suspend reseller
This function suspends a reseller account.
get/suspendreseller
Query parameters
userstring username required
Example:username
The reseller's username.
disallow0 | 1
Whether to allow only the root user to unsuspend the account.
- 1 — Only the root user can unsuspend the account.
- 0 — The root user or the account's owner can unsuspend the account.
reasonstring
Example:Nonpayment
The reason for the reseller's suspension.
Note:
We strongly recommend that you always include a reason for suspension.
reseller-only0 | 1
Whether to suspend only the reseller account.
- 1 — The function only suspends the reseller account. The function will not suspend the accounts that the reseller account owns.
- 0 — The function suspends the reseller account and the accounts that it owns.
Response
HTTP Request was successful.
Example response
{
"metadata": {
"command": "suspendreseller",
"reason": "OK",
"result": 1,
"version": 1
}
}