Cancel job

POST {{baseUrl}}/api/:projectId/jobs/:jobId/cancel?forceCancel=<string>

Cancel a running job.

Request Params

KeyDatatypeRequiredDescription
forceCancelstringIf set to 'true', we won't wait for the job cluster to cancel the job, and will mark the job as finished.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;error&quot;:&quot;\u003cstring\u003e&quot;}