---
title: "Delete a locale"
method: DELETE
path: "/settings/locales/{id}"
tags: ["Admin Settings: Locales"]
---

# Delete a locale

`DELETE /settings/locales/{id}`

## Request

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

Refuses if this is the only remaining locale or if a channel uses it as its default locale.

## Path parameters

- `id` integer, required

## Response `200`

Locale deleted.

## Other responses

- `400`: Refused — last locale or channel default.
- `404`: Locale not found.

---

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