Azure Quantum Cancel a Running Job
A 3-step recipe with Microsoft Azure Quantum. We can help you get access.
Recipe · 3 steps
Azure Quantum Cancel a Running Job
Cancel a quantum job that is still running and confirm it reaches Cancelled.
- Read the current job status to decide whether cancellation is needed.
- Request cancellation of the still-running job.
- Poll the job until it reaches the terminal Cancelled status; repeat while cancellation is still being processed.
What you'll need to have ready
- subscriptionId: The Azure subscription identifier that owns the workspace.
- resourceGroupName: The resource group containing the Quantum workspace.
- workspaceName: The name of the Azure Quantum workspace.
- apiVersion: The data-plane api-version, e.g. 2026-01-15-preview.
- authToken: The Azure AD bearer token (without the "Bearer " prefix).
- jobId: The identifier of the job to cancel.
For your developer
Arazzo workflow microsoft-quantum:cancel-running-job, 3 operations: Jobs_Get → Jobs_Cancel → Jobs_Get. Specs on APIs.io.