Create Account Enhancement

This function creates a new account enhancement.

SecurityBasicAuth
Request
query Parameters
id
required
string

The identifier of the item you are targeting.

Note:

  • You must use an account enhancements ID that a 3rd-party plugin defines.
  • To return a list of valid account enhancement IDs, run the WHM API 1 list_account_enhancements function.
Example: id=sample-enhancement-id
name
required
string <= 80 characters

The name of the account enhancement.

Example: name=featurename 5000
Responses
200

HTTP Request was successful.

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