# Unbind DDoS IP Resource - UnBindNapIP

## Overview

Direct Connection High Defense: Unbind the High Defense EIP from resources






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `UnBindNapIP`.                      | **Yes** |
| **PublicKey**  | string  | The user's public key can be obtained from [Console](https://console.netlake.cn/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. Please refer to the [GetProjectList interface](/docs/api/summary/get_project_list). |**Yes**|
| **ResourceId** | string | UDR-ID |**Yes**|
| **EIPId** | string | UDHCP Resource ID |**Yes**|
| **ResourceType** | string | Resource types for unbinding (uhost: Cloud Host, ulb: Load Balancer, upm: Physical Machine) |**Yes**|
| **BindResourceId** | string | The Resource ID that needs to be unbound |**Yes**|
| **NapIp** | string | UDIP |**Yes**|

### 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.netlake.cn/?Action=UnBindNapIP
&ProjectId=AKrfEgxn
&ResourceId=REDelZAH
&EIPId=gaOVNtia
&ResourceType=lTJOOXhV
&BindResouceId=CNvJUfda
&NapIp=dVMZjBkh
```

### Response Example
    
```json
{
  "Action": "UnBindNapIPResponse",
  "Message": "mQgdYSAh",
  "RetCode": 0
}
```





