You need to enable JavaScript to run this app.
RDS for MySQL

RDS for MySQL

Copy page
Download PDF
Managing instances
RebuildDBGreenInstance
Copy page
Download PDF
RebuildDBGreenInstance
Call the RebuildDBGreenInstance API to rebuild the green instance in a blue-green deployment.​
Request type​
Asynchronous request.​
Debug​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
​
Parameter​
Type​
Is it required?​
Sample value​
Description​
InstanceId​
String​
Yes​
mysql-f83edc2e****​
The ID of the green instance in the blue-green deployment.​
​
Response parameter​
null​
Sample​
Sample request​
​
POST /?Action=RebuildDBGreenInstance&Version=2022-01-01 HTTP/1.1​
Content-Type: application/json​
Host: rds-mysql.cn-beijing.volcengineapi.com​
X-Date: 20211202T101010Z​
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_mysql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****​
{​
"InstanceId": "mysql-874801e6****"​
}​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "20260320113041BD4469C9E1816A4BE9B3-89e041",​
"Action": "RebuildDBGreenInstance",​
"Version": "2022-01-01",​
"Service": "rds_mysql",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
Error code​
For more details, refer to Error codes.​
Last updated: 2026.04.01 10:46:55