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."
}

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."