Account Enhancements
Update Account Enhancement
This function modifies an account enhancement.
Important:
- When you call this function, you must include at least one of the id or name parameters. Lack of a second parameter will result in no change.
get/modify_account_enhancement
Query parameters
namestring required
Example:enhancement 5000
The name of the account enhancement.
idstring
Example:sample-enhancement-id
The account enhancement's new identifier.
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.
Response
HTTP Request was successful.
Example response
{
"data": {
"id": "sample-enhancement-id",
"name": "Sample Enhancement"
},
"metadata": {
"command": "modify_account_enhancement",
"reason": "OK",
"result": 1,
"version": 1
}
}