cURL
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." } }
Delete a keyword list by its ID.
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Keyword ID
Delete Keyword
The response is of type object.
object
Was this page helpful?