Docs Menu

Docs HomeMongoDB 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.
←  mongocli atlas customDbRoles createmongocli atlas customDbRoles describe →
Share Feedback
© 2023 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.