For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

atlas local search indexes delete

Delete the specified search index from the specified deployment

Command Syntax
atlas local search indexes delete [index_name] [options]
Name
Type
Required
Description

index_name

string

false

Name of the index

Name
Type
Required
Description

-h, --help

false

help for delete

--collection

string

false

Name of the collection

--db

string

false

Name of the database

--deploymentName

string

true

Name of the deployment

--force

false

Flag that indicates whether to skip the confirmation prompt before proceeding with the requested action

--password

string

false

Password for authenticating to MongoDB

--username

string

false

Username for authenticating to MongoDB

Name
Type
Required
Description

-o, --output

string

false

Output format

-P, --profile

string

false

Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings