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