post https://sandbox1-api.unit21.com/v1/blacklists//add-values
Add items to a matchlist, according to the matchist's type
.
Each request must specify at least 1 object to matchlist. You may add up to 100 values to an existing matchlist at once.
The /blacklists/<blacklist-id>/add-values
API will ignore entries provided that already exist in the matchlist. No error will be thrown when this occurs.
The response will consist of the following fields:
Type | Description | Example |
---|---|---|
STRING | Plain strings to match against any text-type field. | "blacklist_value": "abcde" |
IP_INET | IPv4 or IPv6 IP addresses to matchlist. | "ip_address": "255.255.255.255" |
IP_CIDR | Classless Inter-Domain Routing (CIDR) notation IP address ranges to blacklist. | "cidr": "255.255.255.255/32" |
USER | Series of fields that a Unit21 user entity will be matched against. | user_data object |
BUSINESS | Series of fields that a Unit21 business entity will be matched against. | business_data object |