Rolling Back a DDM Kernel Version (a V3 API)
Function
Roll back a DDM kernel version. After a DDM instance is upgraded to a new version, the kernel version can be rolled back to the version before the last update.
Constraints
None
URI
- URL format
POST /v3/{project_id}/instances/{instance_id}/database-version/rollback-version
- Parameter description
Table 1 URI parameters Parameter
Mandatory
Type
Description
project_id
Yes
String
Project ID of a tenant in a region
To obtain this value, see Obtaining a Project ID.
instance_id
Yes
String
DDM instance ID
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| X-Auth-Token | Yes | String | User token. You can obtain the token by calling the IAM API used to obtain a user token. |
Example Request
Roll back a DDM kernel version.
POST https://{endpoint}/v3/{project_id}/instances/{instance_id}/database-version/rollback-version Response
- Normal response
Table 3 Response body parameters Parameter
Type
Description
instance_id
String
DDM instance ID.
job_id
String
Task ID for rolling back a kernel version.
- Normal response example
{ "instance_id" : "28e8841d0b9c4f6a9a30742ee60e1055****", "job_id" : "1eb697c0-1842-43a3-8671-f562d038****" } - Abnormal response
For details, see Abnormal Request Results.
Status Code
- Normal
- Abnormal
For details, see Status Codes.
Error Codes
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