Microsoft.Quantum (preview:2025-09-01)

2025/12/05 • 1 updated methods

Jobs_Cancel (updated)
Description Delete a job by its id. Use for cancellation in versions before 2025-12-01-preview.
Reference Link ¶

⚶ Changes

{
  "#id": "Jobs_Cancel",
  "Description": {
    "new": "Delete a job by its id. Use for cancellation in versions before 2025-12-01-preview.",
    "old": "Request the cancellation of an existing job."
  }
}

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/jobs/{jobId}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
jobId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}