Creates a new tag rule for an existing instance.
Bearer authentication header of the form Bearer
The teal instance ID
An arbitrary string, useful for identifying the tag rule.
"Tag gas expense"
If the rule finds a match, the ID of the tag that will be assigned.
"NCB2xo5S1yQbNgyWskXpwG"
A pattern matching expression using the match(pattern, field) function. Use t to access the Transaction object. The pattern supports regular expression syntax.
Read more: Categorization guide
"match(\".*(?i)SHELL GAS\", t.description)"
The priority of the rule.
10
Successful Response
The unique ID of the object.
"yB2xokXpQb5S1NgyWsNCwG"
An arbitrary string, useful for identifying the tag rule.
"Tag gas expense"
If the rule finds a match, the ID of the tag that will be assigned.
"NCB2xo5S1yQbNgyWskXpwG"
A pattern matching expression using the match(pattern, field) function. Use t to access the Transaction object. The pattern supports regular expression syntax.
Read more: Categorization guide
"match(\".*(?i)SHELL GAS\", t.description)"
The priority of the rule.
10