Function: cmd_change_sub_webhook Version: 20.0+
Argument Name |
Type |
Description |
---|---|---|
id |
string |
The id of the event to change its subscription status. |
subscription |
boolean |
Indicates if the server should subscribe to the event and start sending these events to the webhook server. |
response
{ "success": true, "error": "" }
Key |
Type |
Description |
---|---|---|
success |
boolean |
Indicates if the subscription for the event was successfully changed. |
error |
string |
Description of why the subscription was not changed. |