Create a tag rule
Creates a new tag rule for an existing instance.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
The teal instance ID
Body
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
An arbitrary string, useful for identifying the tag rule.
The priority of the rule.
If the rule finds a match, the ID of the tag that will be assigned.
Response
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
The unique ID of the object.
An arbitrary string, useful for identifying the tag rule.
The priority of the rule.
If the rule finds a match, the ID of the tag that will be assigned.