Creates a new tag rule for an existing instance.
Documentation Index
Fetch the complete documentation index at: https://docs.teal.dev/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer , where 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 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