---
title: "DELETE /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/"
method: DELETE
path: "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/"
---

# DELETE /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/

`DELETE /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/`

Removes a locale from a bot.

When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.

## Path parameters

- `botId` string, required
- `botVersion` string, required
- `localeId` string, required

## Response `202`

Success

- DeleteBotLocaleResponse
  - `botId` string — The identifier of the bot that contained the deleted locale.
  - `botVersion` string — The version of the bot that contained the deleted locale.
  - `localeId` string — The language and locale of the deleted locale.
  - `botLocaleStatus` 'Creating' | 'Building' | 'Built' | 'ReadyExpressTesting' | 'Failed' | 'Deleting' | 'NotBuilt' | 'Importing' | 'Processing' — The status of deleting the bot locale. The locale first enters the <code>Deleting</code> status. Once the locale is deleted it no longer appears in the list of locales for the bot.

## Other responses

- `480` — ThrottlingException
- `481` — ServiceQuotaExceededException
- `482` — ValidationException
- `483` — PreconditionFailedException
- `484` — ConflictException
- `485` — InternalServerException

---

[API](https://skmtc.net/aws/apis/models-lex-v2.md) · [All operations](https://skmtc.net/aws/apis/models-lex-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/models-lex-v2/versions/4ee1a1257ae7/schema)
