---
title: "Delete a transaction"
method: DELETE
path: "/transactions/{id}"
tags: ["transactions"]
---

# Delete a transaction

`DELETE /transactions/{id}`

## Request

- Base URL: `http://localhost:3001`
- URL: `http://localhost:3001/transactions/{id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Deletes a transaction by ID

## Path parameters

- `id` string, required

## Response `200`

Transaction deleted successfully

- object
  - `data` DeleteTransactionResponseDto
    - `message` string, required: Success message
  - `success` boolean
  - `message` string

## Other responses

- `400`: Bad Request - Invalid input or validation failed
- `401`: Unauthorized - Authentication required or invalid token
- `403`: Forbidden - Insufficient permissions to access this resource
- `404`: Not Found - The requested resource does not exist
- `500`: Internal Server Error - An unexpected error occurred

---

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