Path Parameters
AppID in which the extension has to be enabled/disabled
Rule ID
Response
200 - application/json
Delete Rule
curl --request DELETE \
  --url https://apimgmt.cometchat.io/apps/{appId}/moderation/rules/{ruleId} \
  --header 'key: <key>' \
  --header 'secret: <secret>'{
  "data": {
    "success": true,
    "message": "Rule with id moderation-test has been deleted successfully."
  }
}Delete a specific moderation rule by its ID.
curl --request DELETE \
  --url https://apimgmt.cometchat.io/apps/{appId}/moderation/rules/{ruleId} \
  --header 'key: <key>' \
  --header 'secret: <secret>'{
  "data": {
    "success": true,
    "message": "Rule with id moderation-test has been deleted successfully."
  }
}AppID in which the extension has to be enabled/disabled
Rule ID
Delete Rule
Show child attributes
Was this page helpful?