Script Hooks
Scripts Hooks
Delete script hook
This function removes a script hook.
get/delete_hook
Request
- Base URLhttps://whm-server.tld:2087/json-api
- AuthHTTP basic
Query parameters
idstring required
Example:HzEpGvT6QGUYwxuX3hWB8AUq
The script hook's ID.
Note:
To retrieve a hook's ID, use the WHM API 1 list_hooks function.
Response
HTTP Request was successful.
Example response
{
"metadata": {
"command": "delete_hook",
"reason": "OK",
"result": 1,
"version": 1
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.