Function: cmd_enable_webhook Version: 20.0+
Argument Name |
Type |
Description |
---|---|---|
user |
string |
The user@machine the request is originating from. |
enable |
boolean |
Indicates whether or not to enable the webhook. |
response
{ "state": "", "success": true, "error": "" }
Key |
Type |
Description |
---|---|---|
state |
string |
Indicates the state of the webhook. Details of what the different states of a webhook are can be viewed here. Note When enabling the webhook the url for the webhook is verified before the webhook is re-enabled. |
success |
boolean |
Indicates that enabling or disabling the webhook was a success or failure. |
error |
string |
An error message that provides details on why enabling/disabling the webhook failed. |