Run Garbage Collection

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Deletes from the Trash Can artifacts with a retention time that has expired and deletes orphan binaries when the full garbage collection cycle runs. The full garbage collection runs after a certain number of iterations and this number can be changed by the user. The default value is 20.

Since: 2.0.0

Security: Requires an admin user.

Usage: POST /api/system/storage/gc

Produces: text/plain

Sample Usage:

POST /api/system/storage/gc

200 OK