curl --request PUT \
--url https://apix.us.amity.co/api/v2/whitelist/records/{ruleId} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--header 'X-API-Key: <api-key>' \
--data '
{
"ruleId": "<string>",
"isEnabled": true
}
'{
"status": "<string>"
}Update rule of whitelist.
curl --request PUT \
--url https://apix.us.amity.co/api/v2/whitelist/records/{ruleId} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--header 'X-API-Key: <api-key>' \
--data '
{
"ruleId": "<string>",
"isEnabled": true
}
'{
"status": "<string>"
}Rule ID to be updated.