Docs Home → Atlas Command Line Interface
atlas serverless update
On this page
Updates one serverless instance in the specified project.
To use this command, you must authenticate with a user account or an API key that has the Project Owner role.
Syntax
atlas serverless update <instanceName> [options]
Arguments
Name | Type | Required | Description |
---|---|---|---|
instanceName | string | true | Human-readable label that identifies your serverless instance. |
Options
Name | Type | Required | Description |
---|---|---|---|
--disableServerlessContinuousBackup | false | Disables Serverless Continuous Backup for your serverless instance. If disabled the serverless instance uses Basic Backup. | |
--disableTerminationProtection | false | Disables termination protection for your cluster. You can delete a cluster with termination protection disabled. | |
--enableServerlessContinuousBackup | false | Enables Serverless Continuous Backup for your serverless instance. If enabled the serverless instance does not use Basic Backup. | |
--enableTerminationProtection | false | Enables termination protection for your cluster. You can't delete a cluster with termination protection enabled. | |
-h, --help | false | help for update | |
-o, --output | string | false | Output format. Valid values are json, json-path, go-template, or go-template-file. |
--projectId | string | false | Hexadecimal string that identifies the project to use. This option overrides the settings in the configuration file or environment variable. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Human-readable label that identifies 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. To learn about profiles for MongoCLI, see https://dochub.mongodb.org/core/atlas-cli-configuration-file. |
Output
If the command succeeds, the CLI returns output similar to the following sample. Values in brackets represent your values.
Serverless instance <Name> updated.