mongocli atlas backup snapshots delete¶
The backup snapshots delete
command deletes a specified backup snapshot.
You can also delete a snapshot through the Atlas UI or API.
Syntax¶
mongocli atlas backup snapshots delete <snapshot-id> --clusterName <cluster-name> [ --force ] [ --output|-o <output-format> ] [ --profile|-P <profile-name> ] [ --projectId <project-ID> ]
Note
Use -h
or --help
to view the command-line help for
this command.
Options¶
Option | Type | Description | Required? |
---|---|---|---|
<snapshot-id> | string | Unique identifier of the snapshot. | yes |
--clusterName | string | Name of the cluster. | yes |
--force | Flag that indicates that the snapshot can
be deleted without requiring confirmation. | no | |
--output , -o | string | Command output format. Valid values are:
If omitted, the command returns output in the default format. | no |
--profile , -P | string | Name of the profile where the project ID and the Programmatic API Key |