Updates a MongoDB Flex user
Updates a MongoDB Flex user.
stackit mongodbflex user update USER_ID [flags]
Update the roles of a MongoDB Flex user with ID "xxx" of instance with ID "yyy"
$ stackit mongodbflex user update xxx --instance-id yyy --role read
--database string The database inside the MongoDB instance that the user has access to. If it does not exist, it will be created once the user writes to it
-h, --help Help for "stackit mongodbflex user update"
--instance-id string ID of the instance
--role strings Roles of the user. The "readAnyDatabase", "readWriteAnyDatabase" and "stackitAdmin" roles will always be created in the admin database. (multiple of: [read, readWrite, readAnyDatabase, readWriteAnyDatabase, stackitAdmin]) (default [])
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
- stackit mongodbflex user - Provides functionality for MongoDB Flex users