---
title: "PUT /quantum-task/{quantumTaskArn}/cancel"
method: PUT
path: "/quantum-task/{quantumTaskArn}/cancel"
---

# PUT /quantum-task/{quantumTaskArn}/cancel

`PUT /quantum-task/{quantumTaskArn}/cancel`

Cancels the specified task.

## Path parameters

- `quantumTaskArn` string, required

## Request body

- object
  - `clientToken` string, required — The client token associated with the request.

## Response `200`

Success

- CancelQuantumTaskResponse
  - `cancellationStatus` 'CANCELLING' | 'CANCELLED', required — The status of the cancellation request.
  - `quantumTaskArn` string, required — The ARN of the task.

## Other responses

- `480` — ResourceNotFoundException
- `481` — AccessDeniedException
- `482` — ConflictException
- `483` — ThrottlingException
- `484` — InternalServiceException
- `485` — ValidationException

---

[API](https://skmtc.net/aws/apis/braket.md) · [All operations](https://skmtc.net/aws/apis/braket/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/braket/versions/016fc6a00b24/schema)
