cURL
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." }
Delete a custom flag reason.
Id of the reason which needs to be deleted.
Reason deleted successfully.
true
"The reason with id spam has been deleted successfully."
Was this page helpful?
Contact support