Delete an Atlas Search Index
On this page
The following table shows the modes of access each role supports.
Role | Action | Atlas UI | Atlas API | Atlas Search API | Atlas CLI |
---|---|---|---|---|---|
Project Data Access Read Only or higher role | To view Atlas Search analyzers and indexes. | ✓ | ✓ | ||
Project Data Access Admin or higher role | To create and manage Atlas Search analyzers and indexes, and
assign the role to your API Key. | ✓ | ✓ | ✓ | ✓ |
Project Owner role | ✓ | ✓ | |||
Organization Owner role | To create access list entries for
your API Key and send the request from a client that appears in the
access list for your API Key. | ✓ | ✓ | ||
To create, view, edit, and delete Atlas Search indexes using the
Atlas UI or API. | ✓ | ✓ | ✓ |
Delete an Atlas Search Index Using the Atlas UI
1
4
Delete an Atlas Search Index Using the Atlas Search API
To delete an Atlas Search index through the API, send a DELETE
request
with the ID
of the Atlas Search index that you wish to delete to the
fts/indexes/
endpoint. To learn more about the
syntax and parameters for this endpoint, see
Delete an Atlas Search Index.
Delete an Atlas Search Index Using the Atlas CLI
To delete an Atlas Search index using the Atlas CLI, run the atlas
clusters search indexes delete
command. To learn more about the
syntax and options for the command, see atlas clusters
search indexes delete.