streams.configure. On the _molesignal system streams it requires sys.telemetry.manage and changes only the retention, field indexes, extraction, masking, and downsampling.
Body
Settings:
GET /api/v1/settings/stream_retention and set with PUT and the same body, { "retention_days": 30 }, both with sys.settings.manage in the system scope. retention_days is a whole number from 1 to 3650.