Domain name for API request: es.intl.tencentcloudapi.com.
Terminate cluster instances
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DeleteInstance. |
| Version | Yes | String | Common Params. The value used for this API: 2018-04-16. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| InstanceId | Yes | String | Instance ID. |
| LockEnabled | No | Boolean | Recycle bin lock settings. If true, it cannot be manually terminated and will be automatically destroyed after the preset time. Default value: false |
| LockDuration | No | Integer | Lock time after being put into the recycle bin Value range: [1, 7] Unit: day Default value: 1 |
| Parameter Name | Type | Description |
|---|---|---|
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Delete a cluster instance with a specified ID
https://es.intl.tencentcloudapi.com/?Action=DeleteInstance
&InstanceId=es-xxxxxxxx
&<Common request parameters>
{
"Response": {
"RequestId": "6eb5c3b2-0bba-4f73-bafb-bd21esxxxxxx"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation | Operation failed. |
| FailedOperation.OpenDestroyProtection | Termination protection is enabled for the current cluster. Unable to terminate it directly. Disable the protection and try again. |
| FailedOperation.RefundError | The instance fails to satisfy the refund condition. |
| InternalError | Internal error. |
| InvalidParameter.InvalidAppId | The APPID value does not match the expectation. |
| InvalidParameter.InvalidInstanceId | Invalid InstanceId. No corresponding resources were found. |
| InvalidParameterValue.ChargeType | Invalid parameter value for billing type ChargeType. |
| ResourceInUse | The resource is occupied. |
| ResourceNotFound.DBInfoNotFound | Failed to obtain the database resource. |
| ResourceNotFound.TradeCgwNotFound | Failed to obtain the billing resource. |
| UnsupportedOperation.HeteroScalingExecuting | An incomplete heterogeneous scaling process exists. |
| UnsupportedOperation.StatusNotSupport | This operation is not supported. The instance status is incorrect. |
フィードバック