Update Rule
AI Moderation
Update Rule
Update an existing moderation rule with new actions or conditions.
PUT
Update Rule
Documentation Index
Fetch the complete documentation index at: https://cometchat-22654f5b-docs-flutter-sdk-mark-as-unread.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
This API has been deprecated, use the updated version at - Update Rule
Path Parameters
AppID in which the extension has to be enabled/disabled
Rule ID
Body
application/json
Unique identifier for the moderation rule.
Example:
"moderation-test"
Descriptive name for the moderation rule.
Example:
"Video Moderation"
Indicates whether the rule is active.
Example:
true
Detailed explanation of the rule's purpose.
Example:
"AI-powered video moderation to detect unsafe content."
Actions to be taken when a violation is detected.
List of filters to apply
- Option 1
- Option 2
List of conditions that must be met for the rule to trigger.
Response
200 - application/json
Update Rule