Skip to main content
PUT
Set Event Retention

Authorizations

Authorization
string
header
required

A Turtle API key (sk_...) as a bearer token.

Path Parameters

organizationId
string<uuid>
required
Example:

"248df4b7-aa70-47b8-a036-33ac447e668d"

Body

application/json
months
enum<integer>

How many months events are kept; 0 keeps them.

Available options:
0,
1,
3,
6,
12

Response

OK

deletionDueAt
null | string<date-time>
deletionRequestedAt
null | string<date-time>
deletionRequestedBy
string<uuid>
Example:

"248df4b7-aa70-47b8-a036-33ac447e668d"

eventRetentionMonths
integer
forgottenBefore
null | string<date-time>
retentionChoices
integer[] | null