API Portal Administrator's Guide : 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"}]
}
Copyright © 2015- 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback