Updates the retention policy that controls how long audit logs are kept and what happens when they expire. Requires theDocumentation Index
Fetch the complete documentation index at: https://docs.truthlocks.com/llms.txt
Use this file to discover all available pages before exploring further.
tenant.audit.retention.manage permission.
Parameters
Number of days to retain audit logs. Must be between 30 and 3,650.
If
true, permanently delete expired logs. If false, archive them (soft delete). Defaults to false.Whether audit exports are permitted for this scope. Defaults to
true.Optional. Apply this policy to a specific environment only. Environment-specific policies take precedence over the global policy.

