Docs Menu
Docs Home
/ /
MongoDB Command Line Interface
/ / / /

mongocli ops-manager admin backup filesystem delete

On this page

  • Syntax
  • Arguments
  • Options
  • Output
  • Example

Note

The admin backup filesystem delete command deletes the configuration of the specified file system store. You can also delete the configuration of a file system store using the API.

mongocli ops-manager|om admin backup filesystem|fileSystem delete <file-system-config-ID>
[ --force ]
[ --profile|-P <profile-name> ]
Option
Type
Description
Required?
file-system-config-ID
string
Unique name of the file system store configuration.
yes
Option
Type
Description
Required?
--force
Flag that indicates that the configuration can be deleted without requiring confirmation.
no
--profile, -P
string
Name of the profile where the public and private keys for accessing Ops Manager are saved. If omitted, uses the default profile. To learn more about creating a profile, see Configure the MongoDB CLI.
no

If successful, the command returns the following message:

File system configuration '<configuration-ID>' deleted

The following example uses the mongocli om admin backup filesystem delete command to deletes the configuration of the file system store whose ID is test. The command uses the --force option to bypass the confirmation prompt and the default profile to access Ops Manager.

mongocli om admin backup filesystem delete test --force

The previous command returns the following:

File system configuration 'test' deleted

Back

Update One File System Store Configuration