API Management 10.4 | 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"}]
}

Copyright © 2015- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release