cURL
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." } }
Delete a keyword list by its ID.
Authorization Key
Authorization Secret
Keyword ID
AppID in which the extension has to be enabled/disabled
Delete Keyword
The response is of type object.
object
Was this page helpful?