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
An arbitrary string, useful for identifying the tag rule.
If the rule finds a match, the ID of the tag that will be assigned.
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 priority of the rule.
Response
The unique ID of the object.
An arbitrary string, useful for identifying the tag rule.
If the rule finds a match, the ID of the tag that will be assigned.
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 priority of the rule.