---
title: "Delete multiple expenses"
method: DELETE
path: "/expenses"
tags: ["Expenses"]
---

# Delete multiple expenses

`DELETE /expenses`

## Request

- Base URL: `https://api.mavenlink.com/api/v1`
- URL: `https://api.mavenlink.com/api/v1/expenses`
- Auth: none declared

The IDs of the expenses to delete can be provided in the `ids` query parameter or via the request body.

Request body example:
```{
  "ids": "1,2,3"
}```

If any specified expenses cannot be deleted, the entire request will fail and an error message
will be returned that specifies which ones could not be deleted and why.


This endpoint returns structured Expense objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the `results` array
and will be indexed by ID in the `expenses` top-level JSON key.
Please see our [Response Format](#section/Response-Format) section for more information.

## Query parameters

- `ids` string

## Response `200`

Expense has been deleted.

- object
  - `deleted` integer[]: The IDs of the expenses that were deleted.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized request
- `403`: Forbidden request
- `404`: Page Not Found
- `422`: Unprocessable Entity
- `503`: Service is unavailable

---

[API](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation.md) - [All operations](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation/revisions/9d4ebed2fa98?raw)
