Cleanup Old Logs
POST/api/v1/audit/cleanup
Permanently delete audit logs older than the retention period (minimum 30 days). Requires the audit:manage permission, which only an organisation owner holds, and always enforced. The cleanup itself is recorded as an audit_logs.cleanup entry naming who ran it, the cutoff and the number of entries deleted.
Requestโ
Responsesโ
- 200
- 422
Successful Response
Validation Error