Domain name for API request: tke.tencentcloudapi.com.
This API is used to remove a node from a node pool but retain it in the 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: RemoveNodeFromNodePool. |
Version | Yes | String | Common Params. The value used for this API: 2018-05-25. |
Region | No | String | Common Params. This parameter is not required for this API. |
ClusterId | Yes | String | Cluster ID |
NodePoolId | Yes | String | Node pool ID |
InstanceIds.N | Yes | Array of String | The node ID list. Up to 100 nodes can be removed at a time. |
Parameter Name | Type | Description |
---|---|---|
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
This example shows you how to remove nodes from a node pool.
https://tke.tencentcloudapi.com/?Action=RemoveNodeFromNodePool
&ClusterId=cls-hca1bmif
&NodePoolId=np-5tx2jmn9
&InstanceIds.0=ins-74mbca66
&<Common request parameters>
{
"Response": {
"RequestId": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed"
}
}
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.RecordNotFound | Record not found. |
InternalError.UnexpectedInternal | Unknown internal error. |
InvalidParameter.Param | Invalid parameter. |
ResourceNotFound | The resource does not exist. |
Was this page helpful?