# Delete Domain Allowlist - DeleteNapAllowListDomain

## Overview

Delete Domain Allowlist






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `DeleteNapAllowListDomain`.                      | **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 |
|:---|:---|:---|:---|
| **ResourceId** | string | Resource ID |**Yes**|
| **Domain.N** | string | Domain name, N starts from 0, multiple domain names: Domain.0, Domain.1, ... |**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|
| **Data** | array[[*DomainConfigResult*](#domainconfigresult)] | Domain Configuration Result |No|

#### Data Model


#### DomainConfigResult

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Domain** | string | Domain Name |**Yes**|
| **Code** | int | Error Code |**Yes**|
| **Message** | string | Prompt Information |**Yes**|

## Example

### Request Example
    
```
https://api.genesissai.com/?Action=DeleteNapAllowListDomain
&ResourceId=VidFgCVC
&Domain.0=ucloud.cn
```

### Response Example
    
```json
{
  "Action": "DeleteNapAllowListDomainResponse",
  "Data": [
    {
      "Code": 0,
      "Domain": "ucloud.cn",
      "Message": "success"
    }
  ],
  "RetCode": 0
}
```





