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

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

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
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.