Upgrading a Minor Version
Function
This API is used to upgrade minor versions of RDS for MySQL or RDS for PostgreSQL instances.
This API will be unavailable on September 14, 2025. You are advised to switch workloads to the new API (Upgrading the Minor Version of a DB Instance) before then.
- Before calling an API, you need to understand the API in Authentication.
Constraints
This API is supported for MySQL and PostgreSQL DB engines.
- The minor version cannot be upgraded for instances with abnormal nodes.
- The following minor versions cannot be upgraded:
- Versions earlier than 11.2 for RDS for PostgreSQL 11
- The upgrade will be performed immediately upon the submission of your request. Delayed upgrade of minor versions is not supported.
URI
- Parameter description
Table 1 Parameter description Name
Mandatory
Description
project_id
Yes
Project ID of a tenant in a region.
For details about how to obtain the project ID, see Obtaining a Project ID.
instance_id
Yes
Instance ID.
Request
Name |
Mandatory |
Type |
Description |
---|---|---|---|
delay |
No |
Boolean |
Whether to delay the upgrade until the maintenance window.
|
Example Request
Upgrading the minor version of a DB instance
POST https://{endpoint}/v3/054ea741f700d4a32f1bc00f5c80dd4c/instances/5b409baece064984a1b3eef6addae50cin01/action/db-upgrade { "delay":false }
Response
- Normal response
Table 3 Parameter description Name
Type
Description
job_id
String
Job ID.
- Example normal response
{ "job_id": "2b414788a6004883a02390e2eb0ea227" }
- Abnormal response
For details, see Abnormal Request Results.
Status Code
- Normal
- Abnormal
For details, see Status Codes.
Error Code
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot