DELETE
/
apps
/
{appId}
/
moderation
/
keywords
/
{keywordId}
Remove keyword
curl --request DELETE \
  --url https://apimgmt.cometchat.io/apps/{appId}/moderation/keywords/{keywordId} \
  --header 'key: <key>' \
  --header 'secret: <secret>'
{
  "data": {
    "success": true,
    "message": "Keyword with id profanity-list has been deleted successfully."
  }
}

Headers

key
string
required

Authorization Key

secret
string
required

Authorization Secret

Path Parameters

keywordId
string
required

Keyword ID

appId
string
required

AppID in which the extension has to be enabled/disabled

Response

200 - application/json

Delete Keyword

The response is of type object.