cURL
curl --request DELETE \ --url https://{appid}.api-{region}.cometchat.io/v3/moderation/rules/{ruleId} \ --header 'apikey: <api-key>'
{ "data": { "success": true, "message": "Rule with id moderation-test has been deleted successfully." } }
Delete a specific moderation rule by its ID.
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Rule ID
Delete Rule
Show child attributes
Response data
Was this page helpful?