Domain name for API request: tdmq.tencentcloudapi.com.
This API is used to delete a cluster.
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: DeleteCluster. |
Version | Yes | String | Common Params. The value used for this API: 2020-02-17. |
Region | No | String | Common Params. This parameter is not required for this API. |
ClusterId | Yes | String | ID of the cluster to be deleted. |
Parameter Name | Type | Description |
---|---|---|
ClusterId | String | Cluster ID |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://tdmq.tencentcloudapi.com/?Action=DeleteCluster
&ClusterId=pulsar-xxxxxxxx
&<Common request parameters>
{
"Response": {
"ClusterId": "pulsar-5r59xd4vnx",
"RequestId": "0f368d07-3648-4546-9c51-65dad19a3234"
}
}
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.DeleteCluster | Failed to delete the cluster. |
FailedOperation.NamespaceInUse | You must clear the associated namespace before proceeding. |
FailedOperation.RoleInUse | You must clear the associated role data before proceeding. |
FailedOperation.VpcInUse | You must clear the associated VPC routing data before proceeding. |
OperationDenied.DefaultEnvironment | Operations on the default environment are not allowed. |
ResourceNotFound.Cluster | The cluster does not exist. |
本页内容是否解决了您的问题?