cURL
curl --request DELETE \ --url https://{appid}.api-{region}.cometchat.io/v3/moderation/reasons/{id} \ --header 'apikey: <api-key>'
{ "success": true, "message": "The reason with id spam has been deleted successfully." }
Deletes moderation reasons from the app configuration.
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Id of the reason which needs to be deleted.
Delete Reasons
The response is of type object.
object
Was this page helpful?