Skip to main content
DELETE
/
moderation
/
reasons
/
{id}
Delete Reasons
curl --request DELETE \
  --url https://{appId}.api-{region}.cometchat.io/v3/moderation/reasons/{id}
{
  "success": true,
  "message": "The reason with id spam has been deleted successfully."
}

Documentation Index

Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required

Id of the reason which needs to be deleted.

Response

200 - application/json

Reason deleted successfully.

success
boolean
Example:

true

message
string
Example:

"The reason with id spam has been deleted successfully."