Last modified October 31, 2024

manageRulePriorities

With this function, you can change/manage the priority of your tag rules.

Parameters

Parameter name Type Description Possible values Example
priorities[] List List of objects(_id,priority). To create new rule click on manageRule. To get the rule ID, you can get it in the manageRule response or listRules api call. priority - The priority of the rule, highest being 0.   priorities[0][_id]=5cff2af036466a0fb61986d2&priorities[1][priority]=1

Returns

Doesn’t return any data.

Example

jetapi backupmc -F manageRulePriorities -D 'priorities[0][_id]=5cff2af036466a0fb61986d2&priorities[1][priority]=1'
https://1.1.1.1:3031/API/manageRulePriorities/?priorities[0][_id]=5cff2af036466a0fb61986d2&priorities[1][priority]=1