# Delete Node node - DelUK8SClusterNodeV2

## Overview

Remove the Node node from the cluster, and make sure to evict the Pod in it before deletion.






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `DelUK8SClusterNodeV2`.                      | **Yes** |
| **PublicKey**  | string  | The user's public key can be obtained from [Console](https://console.genesissai.com/uaccount/api_manage)                                             | **Yes** |
| **Signature**  | string  | User signature generated based on public key and API command, see [Signature Algorithm](/docs/api/summary/signature.md)  | **Yes** |

### Request Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **ProjectId** | string | Project ID. If not filled in, the default project will be used. Sub-accounts must fill in. Please refer to the [GetProjectList interface](api/summary/get_project_list) |No|
| **Region** | string | Region. See [List of Regions and Availability Zones](api/summary/regionlist)<br /> |**Yes**|
| **ClusterId** | string | UK8S Cluster ID. Can be obtained from the UK8S console.<br /> |**Yes**|
| **NodeId** | string | The unique identifier of the Node in UK8S, such as uk8s-reewqe5-sdasadsda. **Not the resource Id of UHost or physical UHost** |**Yes**|
| **ReleaseDataUDisk** | boolean | Whether to release the data disk when deleting a node. Enumeration value [true: release, false: do not release], the default is true. |No|

### Response Field

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **RetCode** | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. |**Yes**|
| **Action** | string | Operation command name. |**Yes**|
| **Message** | string | Returns an error message, providing detailed description when `RetCode` is non-zero. |No|




## Example

### Request Example
    
```
https://api.genesissai.com/?Action=DelUK8SClusterNodeV2
&ProjectId=Mnrabzut
&Region=wvsgqKEY
&ClusterId=IJeDHQLE
&Name=cXwAudcP
&NodeId=phbIHHoH
&ReleaseDataUDisk=false
```

### Response Example
    
```json
{
  "Action": "DelUK8SClusterNodeV2Response",
  "Message": "MNTqlFPZ",
  "RetCode": 0
}
```





