Skip to main content
PATCH
Enable, disable, mark critical or unmark critical Rules in bulk

Authorizations

Authorization
string
header
required

JWT from IDM (Authorization: Bearer )

Body

application/json

Request to bulk-update Rules. Exactly one of active or critical must be set.

ruleIds
string<uuid>[]
required

Rule IDs to update, in the order they should be processed

Maximum array length: 50
active
boolean

true to enable the listed Rules, false to disable them. Exactly one of active or critical must be set.

critical
boolean

true to mark the listed Rules critical, false to unmark them. Exactly one of active or critical must be set.

Response

Rules updated (partial success possible)

Result of a bulk enable/disable Rules operation

updatedCount
integer<int32>
required

Number of Rules successfully enabled/disabled

failures
object[]
required

Rules that could not be enabled/disabled