Skip to main content
PATCH
Update retention policy

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Idempotency
string

Idempotency key for safe retries

Body

application/json
expectedVersion
integer<int64>
required

The settings version the operator edited (GET /settings version); a stale one answers 409 BCC-0013.

Required range: x >= 1
Example:

3

retentionDays
integer<int64>

New retention period in days (min 1825 = 5y, max 36500 = 100y).

Required range: 1825 <= x <= 36500
Example:

1825

Response

OK

effectiveDate
string
required
retentionDays
integer<int64>
required
updatedAt
string
required
updatedBy
string
required