---
title: Extend a list of domains in Cyber Shield Allow List
canonical: https://openvpn.net/cloud-docs/developer/cloudconnexa-beta-api-v0-16-0/cyber-shield-domain-filtering/extend-a-list-of-domains-in-cyber-shield-allow-list/
product: CloudConnexa Docs
---

# Extend a list of domains in Cyber Shield Allow List

`/api/beta/cybershield/allow-list-add-domains`

## Description

An endpoint to add domains to the Allow List of Cyber Shield. For example:

```
POST /api/beta/cybershield/allow-list-add-domains
```

```json
{
  "domainAndComments": [
    { "domain": "sample.domain.com", "comment": "Added by CVE-YYYY-NNNN."}
  ]
}
```

This request is going to add or replace the existing entry in the Cyber Shield Allow List with the domain `sample.domain.com` and add a comment `# Added by CVE-YYYY-NNNN`, resulting in the following line: `sample.domain.com # Added by CVE-YYYY-NNNN`.

Duplicates are going to be overwritten by the last entry. Already existing domains are going to be overwritten by the received ones.

`domainAndComments` (Type: List) - A list of domains with comments to add. Max 1000 items. (mandatory).

`domain`- An FQDN domain name. Unique in the list. The last domain entry overwrites the previous domains. domain and comment joined max length is 150 symbols. (mandatory)

`comment`- A free-form text string with details for a domain. Is added as a comment after the domain. domain and comment joined max length is 150 symbols. (optional)

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| body | body | object | true | body |

### Body parameter

```json
{
  "domainAndComments": [
    {
      "comment": "string",
      "domain": "string"
    }
  ]
}
```

## Responses

| Status | Meaning | Description |
| --- | --- | --- |
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK |
| 201 | [Created](https://tools.ietf.org/html/rfc7231#section-6.3.2) | Entity created |
| 400 | [Bad Request](https://tools.ietf.org/html/rfc7231#section-6.5.1) | Bad Request |
| 401 | [Unauthorized](https://tools.ietf.org/html/rfc7235#section-3.1) | Unauthorized |
| 403 | [Forbidden](https://tools.ietf.org/html/rfc7231#section-6.5.3) | Access Forbidden |
| 404 | [Not Found](https://tools.ietf.org/html/rfc7231#section-6.5.4) | Not Found |
| 406 | [Not Acceptable](https://tools.ietf.org/html/rfc7231#section-6.5.6) | Not Acceptable |
| 429 | [Too Many Requests](https://tools.ietf.org/html/rfc6585#section-4) | Too Many Requests |
| 500 | [Internal Server Error](https://tools.ietf.org/html/rfc7231#section-6.6.1) | Internal Server Error |

To perform this operation, you must be authenticated by means of one of the following methods: OAuth\_authorization

---

Prev: [Cyber Shield Domain Filtering](https://openvpn.net/cloud-docs/developer/cloudconnexa-beta-api-v0-16-0/cyber-shield-domain-filtering.md)
Next: [Extend a list of domains in Cyber Shield Block List](https://openvpn.net/cloud-docs/developer/cloudconnexa-beta-api-v0-16-0/cyber-shield-domain-filtering/extend-a-list-of-domains-in-cyber-shield-block-list.md)
Index: https://openvpn.net/cloud-docs/llms.txt
