Stop PUD Process

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: This REST API is called to stop the PUD process.

Security: Requires an admin user.

Produces: application/json

Usage:

curl -u <user_name>:<password> -XPOST http://artifactory_host:port/artifactory/api/system/storage/prune/stop

Since: 7.72

Sample Usage:

curl -u admin:password -XPOST http://localhost:8082/artifactory/api/system/storage/prune/stop

Sample Responses:

The following example shows the response received when the PUD process is successfully stopped.

HTTP/1.1 202 Accepted
Content-Type: application/json
{
  "info": "Prune task stop request submitted at directory 5d"
}

The following example shows the response received when the PUD process is not running when the stop request is received.

HTTP/1.1 412 Precondition Failed
Content-Type: application/json
{
  "info": "No running Prune task found"
}