UpdateRule
Updates an existing rule.
PUT
/
api
/v1
/rules
Request Body
application/json
RequiredUpdateRuleRequest is used to create or update a rule. If the rule_id or client_key is provided, the rule will be updated. If not, a new rule will be created.
ruleId
string
name
Requiredstring
description
Requiredstring
assetId
string
Deprecated - use asset_configuration instead.
isEnabled
Requiredboolean
conditions
Requiredarray<object>
organizationId
string
versionNotes
string
clientKey
client_key is a client provided identifier for the rule. It is immutable after being set
assetConfiguration
object
contextualChannels
object
A successful response.