Skip to main content
Version: v5.7.0

opschain admin notifications mandates update

packs:security-governance

opschain admin notifications mandates update <mandate-id> [flags]

Updates a notification mandate (NotificationAdminService.UpdateNotificationMandate): only the flags you pass change; the kind-list flags replace their stored sets wholesale.

Flags​

FlagMeaning
--name <name>Rename the mandate.
--group <group>Retarget the mandate's directory group.
--scope-path <selector>Replace the estate scope selector.
--object-kind <kind>Replace the object kinds with the given set (repeatable).
--event-kind <kind>Replace the event kinds with the given set (repeatable).
--state <predicate>Replace the state predicates with the given set (repeatable).
--severity-floor <level>Replace the minimum severity: info, warn or error.
--enabledEnable or disable the mandate (--enabled=false disables).

Exit codes​

CodeMeaning
0Done.
1The server refused or failed the request (named in the error).
2Usage error — missing mandatory flags or no server target.