Creates a tags rule.
Tags rule resource.
name required | string Name of the rule. |
eventType required | string Type of event. |
addTags required | Array of strings [ 0 .. 1000 ] items List of tags to add to the customer. |
removeTags required | Array of strings [ 0 .. 1000 ] items List of tags to remove for the customer. |
filter | string or null Filter that determines whether to tag or untag.
This field requires a special format.
Use For more information, see Using filters. |
status | string Default: "active" Status of the rule. |
Tags rule created.
Location | string <uri> Location of the related resource. Example: "https://api.rebilly.com/example" |
name required | string Name of the rule. |
eventType required | string Type of event. |
addTags required | Array of strings [ 0 .. 1000 ] items List of tags to add to the customer. |
removeTags required | Array of strings [ 0 .. 1000 ] items List of tags to remove for the customer. |
id | string <= 50 characters ID of the rule. |
filter | string or null Filter that determines whether to tag or untag.
This field requires a special format.
Use For more information, see Using filters. |
status | string Default: "active" Status of the rule. |
Array of objects Related resource links. | |
Unauthorized access. Invalid credentials used.
Access forbidden.
Invalid data sent.
{- "name": "string",
- "eventType": "aml-list-possibly-matched",
- "filter": "string",
- "addTags": [
- "string"
], - "removeTags": [
- "string"
], - "status": "active"
}
{- "id": "tag_rule_0YVCEE5APAD7V84MK3P9CCJVYY",
- "name": "string",
- "eventType": "aml-list-possibly-matched",
- "filter": "string",
- "addTags": [
- "string"
], - "removeTags": [
- "string"
], - "status": "active",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}