v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1471501483.8 KB

Removes a locale from a bot.

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

delete/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/

Path parameters

botIdstring required

The unique identifier of the bot that contains the locale.

botVersionstring required

The version of the bot that contains the locale.

localeIdstring required

The identifier of the language and locale that will be deleted. The string must match one of the supported locales. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.

Response

Success

botIdstring

The identifier of the bot that contained the deleted locale.

botVersionstring

The version of the bot that contained the deleted locale.

localeIdstring

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.