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
Show child attributes
Response data
Was this page helpful?