Skip to main content
PUT
Update Rule
This API has been deprecated, use the updated version at - Update Rule

Headers

key
string
required

Authorization Key

secret
string
required

Authorization Secret

Path Parameters

appId
string
required

AppID in which the extension has to be enabled/disabled

ruleId
string
required

Rule ID

Body

application/json
id
string

Unique identifier for the moderation rule.

Example:

"moderation-test"

name
string

Descriptive name for the moderation rule.

Example:

"Video Moderation"

enabled
boolean

Indicates whether the rule is active.

Example:

true

description
string

Detailed explanation of the rule's purpose.

Example:

"AI-powered video moderation to detect unsafe content."

action
string[]

Actions to be taken when a violation is detected.

filters
object[]

List of filters to apply

conditions
object[]

List of conditions that must be met for the rule to trigger.

Response

200 - application/json

Update Rule

data
object