---
title: "Mass delete currencies"
method: POST
path: "/settings/currencies/mass-delete"
tags: ["Admin Settings: Currencies"]
---

# Mass delete currencies

`POST /settings/currencies/mass-delete`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/settings/currencies/mass-delete`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/settings/currencies/mass-delete/post.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a batch of currencies. If any ID is a channel base_currency_id, OR the batch would empty the currencies table, the entire batch is rejected with HTTP 400. Non-existent IDs are silently skipped.

## Request body

- object
  - `indices` integer[], required

## Response `200`

Currencies deleted.

## Other responses

- `400`: Batch rejected — last currency or channel base currency.
- `422`: Validation Error

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
