cURL
curl --request PUT \ --url https://{appId}.api-{region}.cometchat.io/v3/moderation/reasons/{id} \ --header 'Content-Type: application/json' \ --data ' { "name": "Updated name for unfiltered content." } '
{ "data": { "id": "<string>", "name": "<string>", "description": "<string>", "createdAt": "<string>", "updatedAt": "<string>" } }
Update a custom flag reason.
Documentation IndexFetch the complete documentation index at: https://www.cometchat.com/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Id of the reason which needs to be updated.
Updated display name for the content type.
"Updated name for unfiltered content."
Reason updated successfully.
Show child attributes
Was this page helpful?
Contact support