You can run rest api on-demand basis if you want to disable above plugin job schedule!
GET
http://localhost:8090/rest/purgerecyclebin/1.0/content/list/space/key/{spaceKey}
Code Block |
---|
$ curl -u "user:pass" -XGET \ http://localhost:8090/rest/purgerecyclebin/1.0/content \ /list/space/key/DT {"Total Contents":4448,"Total Pages":1770,"Total Page Versions":6608,"Total Attachments":2678} |
DELETE
Code Block |
---|
$ curl -u "admin:secret" -XDELETE \ http://localhost:8090/rest/purgerecyclebin/1.0/content \ /purge/space/key/DT/retention/days/20 done $ |