latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Resellers
Account Enhancement Limit
Account Enhancement
Account Limit

Update account enhancement limit

This function sets account enhancement limits for a reseller account.

get/set_enhancement_limit

Query parameters

accountstring username required
Example:username

The reseller's username.

idstring required
Example:sample-enhancement-id

The account enhancement's identifier.

Note:

  • You must use an account enhancement 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.
limited1 | 0 required
Example:1

Whether the Account Enhancement assignment limit is unlimited.

  • 0 - The assignment is unlimited.
  • 1 - The assignment is limited.
limitinteger
Example:15

The account enhancement limit amount. This parameter is only required if the limited parameter is 1.

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "set_enhancement_limit",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}