Parameters

jobId
string
required

The job ID to cancel the job runs for. This is the id you set when using client.defineJob() or new Job().

Returns

cancelledRunIds
array
required

List of Job Run IDs that are cancelled.

failedToCancelRunIds
array
required

List of Job Run IDs that have failed to be cancelled.