Update field by rule ID
Update specified custom fields for a rule based on the rule's ID.
Path parameters
ruleId
The ID for the rule. You can get this from the get custom rules endpoint or from the Portal’s Policy Settings.
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Request
This endpoint expects an object.
ruleId
priority
Range from 0 (the highest priority) to the number of rules minus 1 (the lowest priority). For example, if there are 10 rules, then the 0th rule is the highest priority while the 9th rule is the lowest priority. By default, the priority will be set to the lowest priority.
name
description
conditions
A nested object with exactly two levels.
actions
Allowed values:
status
Allowed values:
Response
Success
result
message
content