Skip to main content
PUT
Update a rule

Path Parameters

projectId
string
required
ruleId
string
required

Body

application/json
name
string

Rule name

Maximum string length: 255
description
string

Rule description

priority
number
default:100

Priority (lower = higher priority)

conditions
object

Conditions tree (JSON)

actions
string[]

Actions list (JSON array)

status
enum<string>

Rule status

Available options:
DRAFT,
TESTING,
PUBLISHED,
ARCHIVED
isActive
boolean
default:true

Whether the rule is active

metadata
object

Additional metadata

Response

Rule updated successfully