Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex StoreDoc
  • Getting started
  • Access management
  • Pricing policy
    • Overview
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
  1. CLI reference
  2. Overview

yc managed-mongodb

Written by
Yandex Cloud
Updated at January 27, 2026

Manage MongoDB clusters, hosts, databases, backups and users.

Command UsageCommand Usage

Syntax:

yc managed-mongodb <group>

Aliases:

  • mongodb

  • mongo

Command TreeCommand Tree

  • yc managed-mongodb backup — Manage MongoDB backups.

    • yc managed-mongodb backup delete — Delete MongoDB backup.

    • yc managed-mongodb backup get — Get information about the specified MongoDB backup.

    • yc managed-mongodb backup list — List MongoDB backups available in a folder.

  • yc managed-mongodb cluster — Manage MongoDB clusters.

    • yc managed-mongodb cluster add-access-binding — Add access binding for the specified MongoDB cluster

    • yc managed-mongodb cluster add-labels — Assign labels to a MongoDB cluster.

    • yc managed-mongodb cluster backup — Create a backup for the specified MongoDB cluster.

    • yc managed-mongodb cluster create — Create a MongoDB cluster.

    • yc managed-mongodb cluster delete — Delete the specified MongoDB cluster.

    • yc managed-mongodb cluster enable-sharding — Enable sharding for MongoDB cluster.

    • yc managed-mongodb cluster get — Get information about the specified MongoDB cluster.

    • yc managed-mongodb cluster list — List MongoDB clusters in a folder.

    • yc managed-mongodb cluster list-access-bindings — List access bindings for the specified MongoDB cluster

    • yc managed-mongodb cluster list-backups — List available backups for the specified MongoDB cluster.

    • yc managed-mongodb cluster list-logs — Retrieve logs for the specified MongoDB cluster.

    • yc managed-mongodb cluster list-operations — List operations for the specified MongoDB cluster.

    • yc managed-mongodb cluster move — Move the specified MongoDB cluster into the folder

    • yc managed-mongodb cluster remove-access-binding — Remove access binding for the specified MongoDB cluster

    • yc managed-mongodb cluster remove-labels — Remove labels from specified MongoDB cluster

    • yc managed-mongodb cluster reschedule-maintenance — Reschedule currently planned maintenance operation.

    • yc managed-mongodb cluster restore — Restore a MongoDB cluster from a backup.

    • yc managed-mongodb cluster set-access-bindings — Set access bindings for the specified MongoDB cluster and delete all existing access bindings if there were any

    • yc managed-mongodb cluster start — Start the specified MongoDB cluster

    • yc managed-mongodb cluster stop — Stop the specified MongoDB cluster

    • yc managed-mongodb cluster update — Modify configuration or attributes of a MongoDB cluster.

    • yc managed-mongodb cluster update-config — Update the configuration of a MongoDB cluster.

  • yc managed-mongodb database — Manage MongoDB databases.

    • yc managed-mongodb database create — Create a database in a MongoDB cluster.

    • yc managed-mongodb database delete — Delete a MongoDB database.

    • yc managed-mongodb database get — Get information about a MongoDB database.

    • yc managed-mongodb database list — List databases for a MongoDB cluster.

  • yc managed-mongodb hosts — Manage hosts of a MongoDB cluster.

    • yc managed-mongodb hosts add — Add new hosts to the cluster in specified availability zones.

    • yc managed-mongodb hosts delete — Remove specified hosts from the a cluster.

    • yc managed-mongodb hosts list — List hosts for a MongoDB cluster. Use format for additional info

    • yc managed-mongodb hosts resetup — Resetup specified MongoD hosts.

    • yc managed-mongodb hosts restart — Restart specified MongoD hosts.

    • yc managed-mongodb hosts stepdown — Stepdown specified MongoD hosts.

    • yc managed-mongodb hosts update — Update specified hosts in the cluster.

  • yc managed-mongodb resource-preset — Learn about MongoDB resource presets.

    • yc managed-mongodb resource-preset get — Get information about a MongoDB resource preset.

    • yc managed-mongodb resource-preset list — List available resource presets for Managed Service for MongoDB.

  • yc managed-mongodb shards — Manage shards in a MongoDB cluster.

    • yc managed-mongodb shards add — Create new shard for the cluster in the specified availability zones.

    • yc managed-mongodb shards delete — Delete a shard.

    • yc managed-mongodb shards get — Get information about a shard in a MongoDB cluster.

    • yc managed-mongodb shards list — List shards for a MongoDB cluster.

  • yc managed-mongodb user — Manage MongoDB users.

    • yc managed-mongodb user create — Create a MongoDB user.

    • yc managed-mongodb user delete — Delete a MongoDB user.

    • yc managed-mongodb user get — Get information about a MongoDB user.

    • yc managed-mongodb user grant-permission — Grant a permission to the specified MongoDB user.

    • yc managed-mongodb user list — List users for a MongoDB cluster.

    • yc managed-mongodb user revoke-permission — Revoke a permission from the specified MongoDB user.

    • yc managed-mongodb user update — Modify attributes of a MongoDB user.

Global FlagsGlobal Flags

Flag

Description

--profile

string

Set the custom configuration file.

--debug

Debug logging.

--debug-grpc

Debug gRPC logging. Very verbose, used for debugging connection problems.

--no-user-output

Disable printing user intended output to stderr.

--retry

int

Enable gRPC retries. By default, retries are enabled with maximum 5 attempts.
Pass 0 to disable retries. Pass any negative value for infinite retries.
Even infinite retries are capped with 2 minutes timeout.

--cloud-id

string

Set the ID of the cloud to use.

--folder-id

string

Set the ID of the folder to use.

--folder-name

string

Set the name of the folder to use (will be resolved to id).

--endpoint

string

Set the Cloud API endpoint (host:port).

--token

string

Set the OAuth token to use.

--impersonate-service-account-id

string

Set the ID of the service account to impersonate.

--no-browser

Disable opening browser for authentication.

--format

string

Set the output format: text (default), yaml, json, json-rest.

--jq

string

Query to select values from the response using jq syntax

-h, --help

Display help for the command.

Was the article helpful?

Previous
Pricing policy
Next
Overview
© 2026 Direct Cursus Technology L.L.C.