opschain admin notifications retention set
packs:security-governance
opschain admin notifications retention set --feed-days <n> --evidence-days <n>
Sets the retention horizons
(NotificationAdminService.UpdateNotificationRetention). Both are
1..3650 days and evidence must be at least feed; a tier that cannot tune
them answers a named refusal.
Flags
| Flag | Meaning |
|---|---|
--feed-days <n> | Days an archived-out row stays in feed views (mandatory). |
--evidence-days <n> | Days a row survives at all (mandatory; at least --feed-days). |
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. |