Deleting an index - Amazon Kendra

Deleting an index

You can delete an index from Amazon Kendra when you are no longer using the index. For example, delete an index when:

  • You are no longer using the index and want to reduce charges to your AWS account. An Amazon Kendra index accrues charges while it is running whether or not you make queries on the index.

  • You want to reconfigure the index for a different edition of Amazon Kendra. Delete the existing index and then create a new one with the different edition.

  • You have reached the maximum number of indexes in your account and don't want to exceed your quota. Delete an existing index and add a new one. For information about the maximum number of indexes that you can create, see Quotas.

To delete an index, use the console, the AWS Command Line Interface, the AWS CloudFormation script, or the DeleteIndex API. Deleting an index removes the index and all associated data sources and document data. Deleting an index doesn't remove the original documents from your storage.

Deleting an index is an asynchronous operation. When you start deleting an index, the index status changes to DELETING. It remains in the DELETING state until all of the information related to the index is removed. Once the index is deleted, it no longer appears in the results of a call to the ListIndices API. If you call the DescribeIndex API with the deleted index's identifier, you receive and ResourceNotFound exception.

To delete an index (console)
  1. Sign in to the AWS Management Console and open the Amazon Kendra console at

  2. In the navigation pane, choose Indexes, and then choose the index to delete.

  3. Choose Delete to delete the selected index.

To delete an index (CLI)
  • In the AWS CLI, use the following command. The command is formatted for Linux and macOS. If you are using Windows, replace the Unix line continuation character (\) with a caret (^).

    aws kendra delete-index \ --id index-id