Admin — Audit Retention
Trigger audit log purge
Manually triggers soft-delete of audit log entries past the retention window. Normally runs automatically on a daily schedule.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3001/api/v1/admin/audit/retention/purge"{
"results": [
{
"orgId": "string",
"softDeletedCount": 0
}
]
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}