Return Account Enhancements

This function retrieves all existing account enhancements on the system.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/list_account_enhancements
Request samples
whmapi1 --output=jsonpretty \
  list_account_enhancements
Response samples
application/json
{
  • "data": {
    • "enhancements": {
      • "id": "sample-enhancement-id",
      • "name": "Sample Enhancement"
      }
    },
  • "metadata": {
    • "command": "list_account_enhancements",
    • "output": {
      • "warnings": [
        • "(XID svx4zp) The enhancement file “/var/cpanel/account_enhancements/enhancement 5000.json” contains an invalid enhancement “id”: “bad-id”."
        ]
      },
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}