Skip to main content
DELETE
/
apps
/
{appId}
/
moderation
/
rules
/
{ruleId}
Remove 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."
  }
}

Documentation Index

Fetch the complete documentation index at: https://cometchat-22654f5b-docs-v6-beta2-flutter-uikit.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

This API has been deprecated, use the updated version at - Remove Rule

Headers

key
string
required

Authorization Key

secret
string
required

Authorization Secret

Path Parameters

appId
string
required

AppID in which the extension has to be enabled/disabled

ruleId
string
required

Rule ID

Response

200 - application/json

Delete Rule

data
object