v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1442228254.5 KB

Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.

This operation requires permissions for the lex:DeleteBotVersion action.

delete/bots/{name}/versions/{version}

Path parameters

namestring required

The name of the bot.

versionstring required

The version of the bot to delete. You cannot delete the <code>$LATEST</code> version of the bot. To delete the <code>$LATEST</code> version, use the <a>DeleteBot</a> operation.

Response

Success