SOA Governance and API Management : 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.
1. Endpoint: http://<hostname>:<port>/abs/apirepository/purge/
2. Method: Delete
3. Content-Type: application/json
4. 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- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback