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

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

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
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.