Available since version: 1.8
The method is used to control all trigger attributes including trigger applications linkage.
| Parameter | Type | Optional | Description | Details |
|---|---|---|---|---|
| triggerid | string | Trigger ID. | ||
| trigger attribute | any | Yes | New value for a trigger attribute. | |
| Parameter | Description |
|---|---|
| result | Operation successful. Result will contain array of updated Trigger IDs. |
| error | In case of any errors |
Enable trigger, .i.e set its status to '0':
{
"jsonrpc":"2.0",
"method":"trigger.update",
"params":[{
"triggerid": "100100000010092",
"status": 0
}],
"auth":"700ca65537074ec963db7efabda78259",
"id":2
}Retrieved updated trigger IDs: