WorkOS · Schema

UpdateAuditLogsRetentionDto

AuthenticationIdentity ProviderSSOSAMLOIDCSCIMDirectory SyncAuthorizationFGAAudit LogsMFAB2B SaaSAgentsMCP

Properties

Name Type Description
retention_period_in_days integer The number of days Audit Log events will be retained. Valid values are `30` and `365`.
View JSON Schema on GitHub

JSON Schema

workos-updateauditlogsretentiondto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UpdateAuditLogsRetentionDto",
  "title": "UpdateAuditLogsRetentionDto",
  "type": "object",
  "properties": {
    "retention_period_in_days": {
      "type": "integer",
      "description": "The number of days Audit Log events will be retained. Valid values are `30` and `365`.",
      "example": 30
    }
  },
  "required": [
    "retention_period_in_days"
  ]
}