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

# Mass delete locales

`POST /settings/locales/mass-delete`

## Request

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

Deletes a batch of locales. Non-existent IDs are silently skipped; locales that are last-remaining or channel defaults are skipped with a reason in the response.

## Request body

- object
  - `indices` integer[], required

## Response `200`

Locales deleted.

## Other responses

- `400`: Invalid input
- `422`: Empty indices.

---

[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)
