Assign Account Enhancement

This function assigns an Account Enhancement to a cPanel account.

SecurityBasicAuth
Request
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
200

HTTP Request was successful.

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