Docs Menu
Docs Home
/ /

atlas local delete

Delete a deployment.

The command prompts you to confirm the operation when you run the command without the --force option.

Deleting a Local deployment also deletes any local data volumes. Deleting a deployment will not remove saved connections from MongoDB for VS Code. This must be done manually. To learn more, see https://www.mongodb.com/docs/mongodb-vscode/connect/#remove-a-connection.

Command Syntax
atlas local delete <deployment_name> [options]
Name
Type
Required
Description

deployment_name

string

true

Name of the deployment to delete

Name
Type
Required
Description

-h, --help

false

help for delete

--force

false

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

Name
Type
Required
Description

-o, --output

string

false

Output format

-P, --profile

string

false

Back

connect

On this page