API referenceAudit

PUT /audit/retention

PUT
/audit/retention

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X PUT "https://example.com/audit/retention" \  -H "Content-Type: application/json" \  -d '{    "archiveContent": true,    "days": 30,    "enabled": true,    "lockMode": "GOVERNANCE",    "reason": "string",    "region": "string",    "revision": 0  }'
{  "$schema": "https://example.com/schemas/LedgerPolicy.json",  "archiveContent": true,  "configured": true,  "days": 0,  "enabled": true,  "lockMode": "string",  "maximumDays": 0,  "region": "string",  "revision": 0}