cURL
curl --request GET \ --url https://api.example.com/retention/status
{ "enabled": true, "retention_days": 123, "last_cleanup": "<string>", "last_error": "<string>", "total_deleted": 123 }
GET /retention/status — return current retention state.
OK
Was this page helpful?