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

mongocli atlas customDbRoles delete

On this page

  • Syntax
  • Arguments
  • Options
  • Inherited Options

Delete a custom database role for your project.

mongocli atlas customDbRoles delete <roleName> [options]
Name
Type
Required
Description
roleName
string
false
Name of the custom role to delete.
Name
Type
Required
Description
--force
false
Don't ask for confirmation.
-h, --help
false
help for delete
--projectId
string
false
Project ID to use. Overrides configuration file or environment variable settings.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.

Back

create