Zabbix Documentation 1.8

2.23.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.43.23.4

User Tools

Site Tools


Sidebar

api:trigger:deletedependencies

deleteDependencies()

This function allows you to remove trigger dependencies.

Parameters

ParameterTypeOptionalDescriptionDetails

Parameters

ParameterTypeOptionalDescriptionDetails
trigger dataarray or object Array of Trigger objects or a single objecttriggerid must be specified

Returns

ParameterDescription
resultOperation successful. Result will contain array of updated Trigger IDs.
errorIn case of any errors

Example

Remove all dependencies from triggers with trigger ID “100100000064544” and “100100000064545”

{
"jsonrpc":"2.0",
"method":"trigger.deleteDependencies",
"params":[
	{"triggerid": "100100000064544"},
	{"triggerid": "100100000064545"}
],
"auth":"038e1d7b1735c6a5436ee9eae095879e",
"id":2
}

Triggers updated successfully:

{
"jsonrpc":"2.0",
"result":{
	"triggerids":["100100000064544","100100000064545"]
},
"id":2
}