Upgrade the MongoDB Version
DBaaS supports MongoDB versions 6.0 and 7.0. At IONOS, we ensure that the MongoDB patch is up-to-date with the latest release for its current major version. Major version upgrades can be triggered manually, resulting in a brief cluster downtime.
To set a new MongoDB major version, send a PATCH
request with the target mongoDBVersion
.
Endpoint
Use the following endpoint to set a new MongoDB version: https://api.ionos.com/databases/mongodb/clusters/{clusterId}
Request
curl --include \
--request PATCH \
--user "[email protected]:Mb2.r5oHf-0t" \
--header "Content-Type: application/json" \
--data-binary '{
"properties": {
"mongoDBVersion": "7.0"
}
}'
https://api.ionos.com/databases/mongodb/clusters/d02de413-d5af-4104-a6f9-3a3c2766ee61
Last updated
Was this helpful?