Disables cPanel account's reseller status

This function revokes reseller status from an account.

SecurityBasicAuth
Request
query Parameters
user
required
string <username>

The reseller account's username.

Example: user=username
Responses
200

HTTP Request was successful.

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