Update data retention settings
Updates one or more per-channel retention overrides in months. Set a field to null to restore the plan default. Values are clamped to the governing platform or reseller limits. Requires the Data Retention plan feature. Required scope: settings:write.
Authorizations
API key (fam_..., created under Settings → API Keys) or an OAuth 2.0 access token (fam_at_...). Keys can be restricted to scopes such as assistants:read, calls:write, campaigns:write, automations:read, dashboards:read, dashboards:write, leads:write, segments:write, phone_numbers:write, sip_trunks:write, knowledge:write, voices:read, billing:read, settings:write, platform:read, platform:write; a *:write scope implies the matching *:read. Automation and dashboard endpoints also accept the legacy calls:* scope. Keys without scope restrictions have full access.
Body
Per-channel retention overrides in months. null clears an override and restores the plan default.
Response
The updated workspace retention policy.