Unsuspend reseller

This function unsuspends a reseller account.

Authorizations:
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

Response Schema: application/json
object

Request samples

whmapi1 --output=jsonpretty \
  unsuspendreseller \
  user='username'

Response samples

Content type
application/json
{
  • "metadata": {
    • "command": "unsuspendreseller",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}