v1

latestOpenAPI 3.0.12026-07-13130168404.3 KB
Audit

Get retention period

Returns the retention period for records in the audit log. The retention period is how long an audit record is kept for, from creation date until it is deleted.

Permissions required: 'Confluence Administrator' global permission.

get/wiki/rest/api/audit/retention

Response

Returned if the requested retention period is returned.

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.