Python
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>" }
The job ID
One of: start or abort
start
abort
The body is of type object.
object
successful operation
START
PAUSE
ABORT
Was this page helpful?