v1

latestOpenAPI 3.0.12026-07-13130168404.3 KB
Audit

Set retention period

Sets the retention period for records in the audit log. The retention period can be set to a maximum of 1 year.

Permissions required: 'Confluence Administrator' global permission.

put/wiki/rest/api/audit/retention

Request body

numberinteger required

The number of units for the retention period.

units'NANOS' | 'MICROS' | 'MILLIS' | 'SECONDS' | 'MINUTES' | 'HOURS' | 'HALF_DAYS' | 'DAYS' | 'WEEKS' | 'MONTHS' | 'YEARS' | 'DECADES' | 'CENTURIES' | 'MILLENNIA' | 'ERAS' | 'FOREVER' required

The unit of time that the retention period is measured in.

Response

Returned if the retention period is updated.

numberinteger required

The number of units for the retention period.

units'NANOS' | 'MICROS' | 'MILLIS' | 'SECONDS' | 'MINUTES' | 'HOURS' | 'HALF_DAYS' | 'DAYS' | 'WEEKS' | 'MONTHS' | 'YEARS' | 'DECADES' | 'CENTURIES' | 'MILLENNIA' | 'ERAS' | 'FOREVER' required

The unit of time that the retention period is measured in.