# Abort an unsigned / in-process action.

> For the complete documentation index, see [llms.txt](https://bsvblockchain.com/docs/llms.txt).

**POST** `/actions/abort`

Base URL: `https://{host}/storage/v1`

Corresponds to `StorageProvider.abortAction(auth, args)`.
Marks the transaction as failed and frees any allocated inputs.

## Body

Content type: `application/json`

- `reference` (string, required)
  Reference string or txid of the action to abort.

Example:

```json
{
  "reference": "string"
}
```

## Responses

### 200

Abort result.

- `aborted` (boolean, required)

Example:

```json
{
  "aborted": true
}
```

### 400

Bad request — invalid arguments.

- `error` (string, required)
- `code` (string)
  Machine-readable error code (see specs/errors.md).

Example:

```json
{
  "error": "string",
  "code": "string"
}
```

### 401

Authentication required or token invalid.

- `error` (string, required)
- `code` (string)
  Machine-readable error code (see specs/errors.md).

Example:

```json
{
  "error": "string",
  "code": "string"
}
```

### 500

Internal storage error.

- `error` (string, required)
- `code` (string)
  Machine-readable error code (see specs/errors.md).

Example:

```json
{
  "error": "string",
  "code": "string"
}
```