---
title: "Delete an expense"
method: DELETE
path: "/matters/{matterId}/expenses/{id}"
tags: ["Expenses"]
---

# Delete an expense

`DELETE /matters/{matterId}/expenses/{id}`

## Request

- Base URL: `https://api.smokeball.com`
- URL: `https://api.smokeball.com/matters/{matterId}/expenses/{id}`
- Auth: API key in header `x-api-key` and API key in header `Authorization`

Deletes an expense.

## Path parameters

- `id` string, required
- `matterId` string, required

## Response `202`

When request is accepted. Returns a hypermedia 'Link' object of the expense to be deleted.

- Link
  - `id` string, nullable
  - `href` string, nullable
  - `relation` string, nullable
  - `method` string, nullable

## Other responses

- `400`: When an unsupported request is made.
- `403`: When expense with specified id is not associated with authenticated client.
- `404`: When expense with specified id does not exist.

---

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