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
}
Add rules of blocklist.
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
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Rules information to be added.
The body is of type object
.
OK
The response is of type object
.