Disables cPanel account's reseller status

This function revokes reseller status from an account.

Authorizations:
query Parameters
user
required
string <username>

The reseller account's username.

Example: user=username

Responses

Response Schema: application/json
object

Request samples

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

Response samples

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