---
title: "POST /CancelTransaction"
method: POST
path: "/CancelTransaction"
---

# POST /CancelTransaction

`POST /CancelTransaction`

Attempts to cancel the specified transaction. Returns an exception if the transaction was previously committed.

## Request body

- object
  - `TransactionId` string, required — The transaction to cancel.

## Response `200`

Success

- CancelTransactionResponse

## Other responses

- `480` — InvalidInputException
- `481` — EntityNotFoundException
- `482` — InternalServiceException
- `483` — OperationTimeoutException
- `484` — TransactionCommittedException
- `485` — TransactionCommitInProgressException
- `486` — ConcurrentModificationException

---

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