object trigger.deletedependencies(string/array triggers)
This method allows to delete all trigger dependencies from the given triggers.
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 User roles for more information.
(string/array)
Triggers to delete the trigger dependencies from.
(object)
Returns an object containing the IDs of the affected triggers under the triggerids
property.
Delete all dependencies from two triggers.
Request:
{
"jsonrpc": "2.0",
"method": "trigger.deleteDependencies",
"params": [
{
"triggerid": "14544"
},
{
"triggerid": "14545"
}
],
"auth": "038e1d7b1735c6a5436ee9eae095879e",
"id": 1
}
Response:
CTrigger::deleteDependencies() in ui/include/classes/api/services/CTrigger.php.