How can I empty the trash can in JFrog Artifactory?

2k Views Asked by At

I have a Pro JFrog Cloud account and I can't empty my Trash Can. (It contains 1.32GB data.) I tried to follow this article, but I can't find the "Trash Can settings" above Look & Feel Settings. Is it removed from the UI?

I also can't find Usage statistics on my Admin page although I am admin. I don't know if this is relevant.

1

There are 1 best solutions below

1
Nitay Marciano On BEST ANSWER

As you are a cloud customer, I assume you are version 7.x, while the document you shared is of Artifactory 6.x, and hence looks different than your instance.

The same should be found under Administrtaion->(Services)Artifactory->General->Settings, and then scroll to the bottom. There, you will be able to enable/disable trash can, set its retention period, and empty the trash can.

Additionally, you should be able to right click on the Trash Can in Application->Artifacts and "Empty Trash Can".

Note that you may also use the "Empty Trash Can" command using REST API, which is:

curl -XPOST -u user:password https://SERVER-NAME>.jfrog.io/artifactory/api/trash/empty