---
descriptions:
  audit_log_retention:
    retention_period_in_days: >
      The number of days Audit Log events will be retained before being
      permanently deleted.

      Valid values are `30` and `365`.
reference:
  curl:
    - url: /reference/audit-logs/retention
      key: retention
      id: audit_log_retention
      title: retention
      properties:
        - key: retention_period_in_days
          type: number
          description: (audit_log_retention.retention_period_in_days)
originalPath: >-
  .tmp-workos-clone/packages/docs/content/reference/audit-logs/retention/index.mdx
---

# Audit Log Retention

Retention settings control how long Audit Log events are stored before being permanently deleted. You can configure the retention period on a per-organization basis.
