Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Rules information to be added.
Maximum length:
100Response
OK
curl --request POST \
--url https://apix.us.amity.co/api/v3/allowlists \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: <content-type>' \
--data '{
"regexs": [
"<string>"
]
}'{
"success": true
}Add rules of allowlist.
curl --request POST \
--url https://apix.us.amity.co/api/v3/allowlists \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: <content-type>' \
--data '{
"regexs": [
"<string>"
]
}'{
"success": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Rules information to be added.
100OK