DeleteInstance

Last updated: 2019-12-13 18:45:11

PDF

1. API Description

API domain name: es.tencentcloudapi.com.

This API terminates the specified cluster instance.

Default API request rate limit: 20 requests/sec.

Note: This API supports financial regions. As financial regions and non-financial regions are isolated, if a financial region, such as ap-shanghai-fsi, is assigned to the common parameter Region, we recommend you include that financial region in your domain name , such as es.ap-shanghai-fsi.tencentcloudapi.com.

2. Input Parameters

The following parameters are required for requesting this API, including action-specific parameters and common parameters.

Parameter Name Required Type Description
Action Yes String Common parameter. The name of this API: DeleteInstance
Version Yes String Common parameter. The version of this API: 2018-04-16
Region Yes String Common parameter.
InstanceId Yes String Instance ID

3. Output Parameters

Parameter name Type Description
RequestId String The unique ID of a request, which is required for each troubleshooting case.

4. Examples

Example 1. Deleting an ES Cluster Instance

Deleting a cluster instance with the specified ID.

Input Sample Code

https://es.tencentcloudapi.com/?Action=DeleteInstance
&InstanceId=es-4texbn20
&<Common request parameter>

Output Sample Code

{
  "Response": {
    "RequestId": "6eb5c3b2-0bba-4f73-bafb-bd216bf04a21"
  }
}

5. Developer Resources

API Explorer

This tool provides various capabilities such as online call, signature verification, SDK code generation, and quick API retrieval that significantly reduce the difficulty of using TencentCloud API.

6. Error Codes

The following error codes are API business logic-related. For other error codes, see Common Error Codes.

Error Code Description
InternalError Internal error.
InvalidParameter Incorrect parameter.
ResourceInUse Resource is occupied.