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.
delete/bots/{botId}/botversions/{botVersion}/
Path parameters
botIdstring required
The identifier of the bot that contains the version.
botVersionstring required
The version of the bot to delete.
Query parameters
skipResourceInUseCheckboolean
By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and throws a <code>ResourceInUseException</code> exception if the version is being used by another resource. Set this parameter to <code>true</code> to skip this check and remove the version even if it is being used by another resource.
Response
Success