action.update
This method allows to update existing actions.
This method is only available to Admin and Super admin user types. Permissions to call the method can be revoked in user role settings. See for more information.
Parameters
The actionid
property must be defined for each action, all other properties are optional. Only the passed properties will be updated, all others will remain unchanged.
Additionally to the , the method accepts the following parameters.
Examples
Disable action
Disable an action, that is, set its status to “1”.
:
{
"jsonrpc": "2.0",
"result": {
]
},
"id": 1
Source
CAction::update() in ui/include/classes/api/services/CAction.php.