Create a new blacklist sending blacklist data in the request body.

Unit21 currently supports 5 types of blacklists:

  • STRING: Plain strings to match against any text-type field.
  • IP_INET: IPv4 or IPv6 IP addresses to blacklist.
  • IP_CIDR: Classless Inter-Domain Routing (CIDR) notation IP address ranges to blacklist,
  • USER: Series of fields that a Unit21 user entity will be matched against.
  • BUSINESS: Series of fields that a Unit21 business entity will be matched against.

If the /blacklists/create API is called multiple times, it will create a new blacklist each time. This endpoint does not support updates/upserts.

The response will consist of the following fields:

FieldTypeDescription
blacklist_idStringUnique identifier of the entity on your platform

This endpoint does not support batch uploads.

Language
Authentication
Header
URL
Click Try It! to start a request and see the response here!