opschain governance owners update
packs:change-governance
opschain governance owners update <declaration-id> [--owner-user <u>]... [--owner-group <g>]... [--owner-kind <k>]...
Replaces a declaration's owner list wholesale
(ChangeGovernanceService.UpdateAssetOwner). Needs the delegable
change-governance determination on the declaration's subtree and a
stepped-up session.
Flags
| Flag | Meaning |
|---|---|
--owner-user <name> | A username on the replacement owner list (repeatable). |
--owner-group <name> | A directory group on the replacement owner list (repeatable). |
--owner-kind <kind> | A resolved owner kind on the replacement list (repeatable). |
Exit codes
| Code | Meaning |
|---|---|
| 0 | Done. |
| 1 | The server refused or failed the request (named in the error). |
| 2 | Usage error — missing mandatory flags or no server target. |