pydo.databases.update_major_version()
Generated on 7 Jul 2026
from pydo version
v0.39.0
Usage
client.databases.update_major_version(
database_cluster_uuid="9cc10173-e9ea-4176-9dbc-a4cee4c4ff30",
body={
"version": "8",
},
)Description
To upgrade the major version of a database, send a PUT request to /v2/databases/{database_cluster_uuid}/upgrade, specifying the target version.
A successful request will receive a 204 No Content status code with no body in response.
Parameters
database_cluster_uuidstring requiredA unique identifier for a database cluster.
versionstring optionalExample:
8A string representing the version of the database engine in use for the cluster.
Request Sample
More Information
See /v2/databases/{database_cluster_uuid}/upgrade in the API reference for additional detail on responses, headers, parameters, and more.