Agents

Purge expired CertiWise audit logs

POST
/internal/certiwise/purge-audit-logs

Authorization

CertiwiseAuditPurgeSecret
AuthorizationBearer <token>

Shared CERTIWISE_AUDIT_PURGE_SECRET for audit log retention purge

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/internal/certiwise/purge-audit-logs" \  -H "Content-Type: application/json" \  -d '{}'
{  "deleted": 0}
{  "message": "string"}
{  "message": "string"}