Skip to main content
Version: v5.7.0

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​

FlagMeaning
--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​

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