Unsuspend reseller

This function unsuspends a reseller account.

SecurityBasicAuth
Request
query Parameters
user
required
string

The reseller's username.

Example: user=username
reseller-only
integer
Default: 0

Whether to unsuspend only the reseller account.

  • 1 — The function only unsuspends the reseller account. The function will not unsuspend the accounts that the reseller account owns.
  • 0 — The function unsuspends the reseller account and the accounts that it owns.
Enum: 0 1
Example: reseller-only=0
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/unsuspendreseller
Request samples
whmapi1 --output=jsonpretty \
  unsuspendreseller \
  user='username'
Response samples
application/json
{
  • "metadata": {
    • "command": "unsuspendreseller",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}