POST
/
api
/
v3
/
blocklists
Add rules of blocklist V3
curl --request POST \
  --url https://apix.us.amity.co/api/v3/blocklists \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>' \
  --data '{
  "regexs": [
    "<string>"
  ],
  "isMatchExactWord": false
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required
Content-Type
string
required

Body

application/json

Rules information to be added.

The body is of type object.

Response

200
application/json

OK

The response is of type object.