Stop All Tasks

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Stops all running distribution tasks. Requires an execution token.

Since: 1.8.1

Security: Admin only

Usage: POST /api/v1/maintenance/execute/stop_all

Request headers: N/A

Consumes: Content-Type: text/plain

Produces: application/json

Request Example

$ curl -XPOST -H "Content-Type: text/plain" -u admin:password "http://localhost:8080/api/v1/maintenance/execute/stop_all?dryRun=false" --data-raw "token..."

Field

Type

Required

Default Value

Since

Description

dryRun

Query Param

yes

true

1.8.1

If set to true, parses, validates, and returns the list of tasks that would be stopped, but does not execute the operation.

response.json

{
  "trackers_db_info": {
    "affected_edge_tracker_artifacts": 8,
    "affected_edge_trackers": 1,
    "affected_trackers": 1
  },
  "tasks_queue_flushed": true
}

Response status codes:

202 - Successfully aborted all distribution tasks

Response headers: N/A