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

Authorizations

apikey
string
header
required

API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).

Path Parameters

keywordId
string
required

Keyword ID

Response

200 - application/json

Delete Keyword

The response is of type object.