Software AG Products 10.5 | Administering API Portal | Managing Data in API Portal | Purging logs by invoking a REST service
 
Purging logs by invoking a REST service
You can purge logs by invoking a REST service.
*Endpoint: http://<hostname>:<port>/abs/apirepository/purge/
Method: DELETE
Content-type: application/json
Request payload
{
"purgeSettings":[{"objectType":"Audit Logs",
"until":"2014-11-29T00:00:00"},
{"objectType":"Analytics",
"until":"2014-11-29T00:00:00"},
{"objectType":"Approval", "olderThan":"1m"},
{"objectType":"Stale Users", "olderThan":"1m"}]
}