mongocli atlas serverless delete
On this page
mongocli atlas
commands are now deprecated because there's a new, dedicated CLI available for Atlas users. Migrate to the Atlas CLI to enjoy the same capabilities and the latest features. You can use mongocli atlas
commands until April 30, 2023.Remove a serverless instance from your project.
Your API Key must have the Organization Owner or Project Owner role to successfully call this resource.
Syntax
mongocli atlas serverless delete <instanceName> [options]
Arguments
Name | Type | Required | Description |
---|---|---|---|
instanceName | string | false | Name of the instance to delete. |
Options
Name | Type | Required | Description |
---|---|---|---|
--force | false | If specified, skips asking for confirmation before proceeding with a requested action. | |
-h, --help | false | help for delete | |
--projectId | string | false | Project ID to use. Overrides the settings in the configuration file or environment variable. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |