Domain name for API request: ckafka.intl.tencentcloudapi.com.
This API is used to delete prepaid instances. It performs isolation and deletion actions on the instance. After successful execution, the instance will be directly deleted and terminated. By calling API deletion, it directly performs instance termination without associating connectors and tasks in pre-check.
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: DeleteInstancePre. |
| Version | Yes | String | Common Params. The value used for this API: 2019-08-19. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| InstanceId | Yes | String | The ckafka cluster instance Id, which can be obtained through the DescribeInstances api. |
| Parameter Name | Type | Description |
|---|---|---|
| Result | CreateInstancePreResp | Returned result |
| 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. |
This example shows you how to delete a prepaid annual and monthly instance.
https://ckafka.intl.tencentcloudapi.com/?Action=DeleteInstancePre
&InstanceId=ckafka-xxxx
&<Common request parameters>{
"Response": {
"Result": {
"DeleteRouteTimestamp": null,
"ReturnCode": "0",
"ReturnMessage": "ok",
"Data": {
"FlowId": 0,
"DealNames": [
"20240624186060707999999"
],
"InstanceId": "ckafka-7777xxxx",
"DealNameInstanceIdMapping": null
}
},
"RequestId": "0b56102f-b4a4-4225-8ae5-60aea1234567"
}
}
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. |
| UnsupportedOperation | Unsupported operation. |
Feedback