This function removes a script hook.
The script hook's ID.
Note:
To retrieve a hook's ID, use the WHM API 1 list_hooks function.
list_hooks
HTTP Request was successful.
whmapi1 --output=jsonpretty \ delete_hook \ id='HzEpGvT6QGUYwxuX3hWB8AUq'
{"metadata": {"command": "delete_hook","reason": "OK","result": 1,"version": 1}}