Update Policy
PUT /api/v1/retention/policies/{category}
PUT
/api/v1/retention/policies/{category}
Update per-tenant retention override (Enterprise only).
Validates that:
- The category exists and is overridable (rejects audit_logs, pii).
- The requested days are at or above the GDPR floor.
- The caller’s tenant is on the Enterprise plan.
Authorizations
Parameters
Path Parameters
category
required
Retention category to override
string
Retention category to override
Request Body required
Request body for PUT /policies/{category}.
object
default_days
required
integer
Responses
200
Successful Response
object
key
additional properties
any
422
Validation Error
object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string