This method allows to update existing actions.
Parameters
Action properties to be updated.
The property must be defined for each action, all other properties are optional. Only the passed properties will be updated, all others will remain unchanged.
Returns an object containing the IDs of the updated actions under the property.
Examples
Disable action
Disable action, that is, set its status to “1”.
Request:
- {
- "jsonrpc": "2.0",
- "result": {
- "actionids": [
- ]
- },
- "id": 1
- }
Source
CAction::update() in frontends/php/include/classes/api/services/CAction.php.