---
title: "Abort a transaction."
method: DELETE
path: "/appelements/d/{did}/w/{wid}/e/{eid}/transactions/{tid}"
tags: ["AppElement"]
---

# Abort a transaction.

`DELETE /appelements/d/{did}/w/{wid}/e/{eid}/transactions/{tid}`

## Request

- Base URL: `https://api.onshape.com/api/v17`
- URL: `https://api.onshape.com/api/v17/appelements/d/{did}/w/{wid}/e/{eid}/transactions/{tid}`
- Auth: OAuth 2 and HTTP basic
  - Authorization code: `/oauth/authorize`
  - Token URL: `/oauth/token` scopes: `OAuth2Write`

Deletes a microbranch (i.e., the branch with the microversion for the transaction).

## Path parameters

- `did` string, required
- `eid` string, required
- `wid` string, required
- `tid` string, required

## Query parameters

- `returnError` boolean

## Response `default`

default response

---

[API](https://skmtc.dev/onshape/apis/onshape-rest-api.md) - [All operations](https://skmtc.dev/onshape/apis/onshape-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/onshape/apis/onshape-rest-api/revisions/c5c4c780f831?raw)
