Skip to main content
PUT
Set the org's per-domain data-retention policy

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Body

application/json

Partial policy — at least one of messages, conversations or audit_logs must be present.

messages
object
conversations
object
audit_logs
object

Response

The merged, persisted per-domain data-retention policy.

data
object

The org's resolved per-domain data-retention policy (GDPR Art. 5(1)(e) storage-limitation) plus the allowed min/max windows. All three domains are disabled by default. This endpoint records policy only; redaction and deletion are carried out asynchronously by scheduled background sweeps, not at the moment you read or write this policy.

meta
object