Stop a job
import requests
url = "https://{FUSION HOST}/api/spark/jobs/{id}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.delete(url, headers=headers)
print(response.text)Stop a job
Cancel a running job. Use /spark/jobs/{id} to check that the job is no longer running.
DELETE
/
spark
/
jobs
/
{id}
Stop a job
import requests
url = "https://{FUSION HOST}/api/spark/jobs/{id}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.delete(url, headers=headers)
print(response.text)Authorizations
Basic authAPI key
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
The name of the job configuration for which to find job runs.
Response
200
OK
Was this page helpful?
⌘I