Available since version: 1.8
The method is used to control all action attributes including action conditions and operations.
Parameter | Type | Optional | Description | Details |
---|---|---|---|---|
actionid | string | Action ID. | ||
action attribute | any | Yes | New value for an action attribute. | |
action conditions data | array or object | array of action conditions objects | ||
action operations data | array or object | array of action operations objects |
Parameter | Description |
---|---|
result | Operation successful. Result will contain array of updated action IDs. |
error | In case of any errors |
Set action name to "New Name":
{
"jsonrpc": "2.0",
"method": "action.update",
"params": {
"actionid": "100100000010092",
"name": "New Name"
},
"auth": "700ca65537074ec963db7efabda78259",
"id": 2
}
Retrieved updated action IDs:
Disable action:
Parameter "status" serves for setting status of your action.