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

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

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

Deletes a specific version of a bot. To delete all versions of a bot, use the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DeleteBot.html">DeleteBot</a> operation.

## Path parameters

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

## Query parameters

- `skipResourceInUseCheck` boolean

## Response `202`

Success

- DeleteBotVersionResponse
  - `botId` string — The identifier of the bot that is being deleted.
  - `botVersion` string — The version of the bot that is being deleted.
  - `botStatus` 'Creating' | 'Available' | 'Inactive' | 'Deleting' | 'Failed' | 'Versioning' | 'Importing' | 'Updating' — The current status of the bot.

## Other responses

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

---

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