Assign Account Enhancement

This function assigns an Account Enhancement to a cPanel account.

Authorizations:
query Parameters
account
required
string <username>

The username of the account.

Example: account=username
name
required
string

The name of the account enhancement.

Example: name=enhancement 5000

Responses

Response Schema: application/json
object

Request samples

whmapi1 --output=jsonpretty \
  assign_account_enhancement \
  account='username' \
  name='enhancement 5000'

Response samples

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