---
title: "Add domains allowed for CORS access"
method: POST
path: "/gdc/domains/{domain_name}/securitySettings/allowedOrigins/add"
tags: ["allowed-origins"]
---

# Add domains allowed for CORS access

`POST /gdc/domains/{domain_name}/securitySettings/allowedOrigins/add`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/domains/{domain_name}/securitySettings/allowedOrigins/add`
- Auth: none declared

## Path parameters

- `domain_name` string, required

## Request body

- AllowedOrigins
  - `allowedOrigins` object, required
    - `items` string[], required

## Response `204`

_

## Other responses

- `400`: The API call failed due to a validation error. The provided data is incomplete or incorrect (for example, the allowed origin already exists, the number of allowed origins in the domain has reached the limit, and so on). Check the input data, and then re-issue the call.

---

[API](https://skmtc.dev/gooddata/apis/gooddata-api-documentation.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/revisions/e5dc0ee6ab00?raw)
