IONOS Cloud DBaaS icon

IONOS Cloud DBaaS

Manage IONOS Cloud Database as a Service (PostgreSQL, MongoDB, MariaDB, Redis). Developped with Love by Ascenzia (ascenzia.fr)

MongoDB → Update

AI-generated

Summary

Patch a MongoDB cluster with the provided fields

Inputs

  • clusterId (required) — The unique ID of the MongoDB cluster to update
  • updateFields — Fields to update on the MongoDB cluster, passed as properties in the PATCH request body

Output shape

Updated MongoDB cluster object as returned by the IONOS API

No additional parameters are consumed beyond clusterId and updateFields; the operation issues a PATCH to /clusters/{clusterId}

Examples

Example 1: Update cluster display name

clusterId: string (required), updateFields.displayName: string (optional)

Example 2: Update cluster instance count

clusterId: string (required), updateFields.instances: number (optional)

Links

Discussion