---
title: "Delete expense"
method: DELETE
path: "/expenses/{expenseId}"
tags: ["Expenses"]
---

# Delete expense

`DELETE /expenses/{expenseId}`

## Path parameters

- `expenseId` string, required

## Response `204`

Expense deleted successfully

## Other responses

- `404` — Expense not found
- `409` — Cannot delete expense that has been processed
- `500` — An internal server error occurred.
- `503` — The service is temporarily unavailable. Maybe there is maintenance?

## Changes

- **2025-01-17** `4573748c6338` — 3 info
  - added the optional property `errorGUID` to the response with the `409` status
  - added the optional property `errorGUID` to the response with the `500` status
  - added the optional property `errorGUID` to the response with the `503` status
- **2025-01-09** `a59b7402c514` — 2 breaking, 1 info
  - the response property `code` became optional for the status `500`
  - the response property `code` became optional for the status `503`
  - added the non-success response with the status `409`
- **2025-01-09** `29074eeb2bb5` — 2 info
  - added the non-success response with the status `500`
  - added the non-success response with the status `503`
- **2025-01-07** `659ddbe31a58` — 3 info
  - removed the non-success response with the status `409`
  - removed the non-success response with the status `500`
  - removed the non-success response with the status `503`

[Change history](https://skmtc.dev/ducin-public/apis/itcorpo-api/changes/expenses/:expenseId/delete.md)

---

[API](https://skmtc.dev/ducin-public/apis/itcorpo-api.md) · [All operations](https://skmtc.dev/ducin-public/apis/itcorpo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ducin-public/itcorpo-api/revisions/80675117301b/schema)
