Creates a tags rule.
Creates a tags rule.
Tags rule resource.
name required | string Name of the rule. |
eventType required | string Type of event. |
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. |
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. |
status | string Default: "active" Status of the rule. |
{ "name": "string", "eventType": "aml-list-possibly-matched", "filter": "string", "addTags": [ "string" ], "removeTags": [ "string" ], "status": "active" }
201
Tags rule created.
401
Unauthorized access. Invalid credentials used.
403
Access forbidden.
422
Invalid data sent.
{ "id": "tag_rule_0YVCEE5APAD7V84MK3P9CCJVYY", "name": "string", "eventType": "aml-list-possibly-matched", "filter": "string", "addTags": [ "string" ], "removeTags": [ "string" ], "status": "active", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { "href": "string", "rel": "self" } ] }