This function grants reseller status to an account.
Note:
This function grants reseller status to an existing account. You cannot create a new account with this function.
user required | string <username> The account's username. Example: user=username |
makeowner | integer Default: 0 Whether to set the account to own itself.
Example: makeowner=0 |
object |
whmapi1 --output=jsonpretty \ setupreseller \ user='username'
{- "metadata": {
- "command": "setupreseller",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}