...
...
...
...
GET
...
Info |
---|
Space Trash Purge Configuration |
Code Block |
---|
$ curl -u "user:pass" -XGET \ http://localhost:8090/rest/purgerecyclebin/1.0/contentutility \ /list/space/key/DT |
DELETE
/config?spaceKey=DT |
DELETEhttp://localhost:8090/rest/purgerecyclebin/1.0/utility/config?spaceKey={spaceKey}
Code Block |
---|
$ curl -u "admin:secret" -XDELETE \ http://localhost:8090/rest/purgerecyclebin/1.0/ |
...
utility \
/config?spaceKey=DT
|
Info |
---|
Run Trash Purge for Space |
POST http://localhost:8090/rest/purgerecyclebin/1.0/utility/run/config?spaceKey={spaceKey}&dryRun={dryRun}
Code Block |
---|
$ curl -u "admin:secret" -XDELETE \ http://localhost:8090/rest/purgerecyclebin/1.0/contentutility \ /purge/space/key/DT/retention/days/20 /run/config?spaceKey=DT |
POST http://localhost:8090/rest/purgerecyclebin/1.0/utility/run/all/config?daysKeep={daysKeep}&dryRun={dryRun}
Info |
---|
Run Trash Purge for All Spaces |
Code Block |
---|
$ curl -u "admin:secret" -XDELETE \
http://localhost:8090/rest/purgerecyclebin/1.0/utility \
/run/all/config?daysKeep=180 |