Skip to main content
POST
/
jobs
/
{resource}
/
actions
Start, pause, or abort the specified job
import requests

url = "http://api/apollo/jobs/{resource}/actions"

payload = {}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{
  "resource": "<string>",
  "action": "START",
  "accepted": false,
  "message": "<string>"
}

Path Parameters

resource
string
required

The job ID

Body

application/json · object

One of: start or abort

The body is of type object.

Response

200 - */*

successful operation

resource
string
action
enum<string>
Available options:
START,
PAUSE,
ABORT
accepted
boolean
default:false
message
string