调用 DeleteDBInstance 接口删除实例。
异步请求。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
InstanceId | String | 是 | mysql-e26822cf**** | 实例 ID。 说明
|
DataKeepPolicy | String | 否 | Last | 实例释放后的是否保留该实例上的快照。取值为 Last ,保留最后一个。 |
null
POST /?Action=DeleteDBInstance&Version=2022-01-01 HTTP/1.1 Content-Type: application/json Host: rds.volcengineapi.com X-Date: 20211202T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_mysql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458**** { "InstanceId": "mysql-e26822cf****", "DataKeepPolicy": "Last" }
{ "ResponseMetadata": { "RequestId": "2023120413593055A48DA4D95A611CCBDF", "Action": "DeleteDBInstance", "Version": "2022-01-01", "Service": "rds_mysql", "Region": "cn-beijing" }, "Result": null }
更多详情,请参见错误码。