v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1471501483.8 KB

Deletes the specified bot alias.

delete/bots/{botId}/botaliases/{botAliasId}/

Path parameters

botAliasIdstring required

The unique identifier of the bot alias to delete.

botIdstring required

The unique identifier of the bot associated with the alias to delete.

Query parameters

skipResourceInUseCheckboolean

By default, Amazon Lex checks if any other resource, such as a bot network, is using the bot alias before it is deleted and throws a <code>ResourceInUseException</code> exception if the alias is being used by another resource. Set this parameter to <code>true</code> to skip this check and remove the alias even if it is being used by another resource.

Response

Success

botAliasIdstring

The unique identifier of the bot alias to delete.

botIdstring

The unique identifier of the bot that contains the alias to delete.

botAliasStatus'Creating' | 'Available' | 'Deleting' | 'Failed'

The current status of the alias. The status is <code>Deleting</code> while the alias is in the process of being deleted. Once the alias is deleted, it will no longer appear in the list of aliases returned by the <code>ListBotAliases</code> operation.