Skip to main content
PUT
Update Rule

Authorizations

apikey
string
header
required

API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).

Path Parameters

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