manageRule

Description

With this function, you can create/manage Tag Rules.

Parameters

Parameter name Type Description Possible values Example
_id String Required on action modify The ID of the tag.   5cc3b7fc9dc6d60c9d04f0f2
action String Required The action you want to perform.
  • create
  • modify
 
name String Required on action create Tag name.   JBRule
conditions[] List Required on action create List of condition objects you want the rule to follow. To view the parameters that returned click on Tag Rule Condition Object.   conditions[2][dest_type]=Local
tags[] List List of tags attached to this rule.   tags[0]="5cc3b7fc9dc6d60c9d04f0f2"
disabled Boolean Whether to disable the rule.
  • 0
  • 1
  • 0

Returns

This API call returns rule object.
To view the parameters that returned click on Rule Object.

Example