Resellers
Reseller Account Management
Enable cPanel account's reseller status
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.
get/setupreseller
Query parameters
userstring username required
Example:username
The account's username.
makeowner0 | 1
Whether to set the account to own itself.
- 1 — Make the account own itself.
- 0 — Keep the account's current owner.
Response
HTTP Request was successful.
Example response
{
"metadata": {
"command": "setupreseller",
"reason": "OK",
"result": 1,
"version": 1
}
}