Creates a new tag rule for an existing instance.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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 comparative expression to match on Transactions. Use t to access the Transaction object. Must evaluate to a boolean. Accepts regex evaluations.
Read more: Categorization guide
"t.description == 'SHELL GAS'"
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 comparative expression to match on Transactions. Use t to access the Transaction object. Must evaluate to a boolean. Accepts regex evaluations.
Read more: Categorization guide
"t.description == 'SHELL GAS'"
The priority of the rule.
10