Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Rules information to be added.
Response
OK
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.
OK