---
title: "Get allowed external hosts by scope"
method: GET
path: "/gdc/securitySettings/allowedExtHosts"
tags: ["allowed-external-hosts"]
---

# Get allowed external hosts by scope

`GET /gdc/securitySettings/allowedExtHosts`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/securitySettings/allowedExtHosts`
- Auth: none declared

## Query parameters

- `scope` string, required
- `offset` string
- `limit` integer

## Response `200`

Request successful

- AllowedExtHostsPage
  - `allowedExtHostsPage` object
    - `paging` object: The collection of properties containing paging information.
      - `next` string, uri, nullable: Uri to next page, when such page exists.
      - `offset` integer: Offset of the current page
    - `links` SelfLink: Self link
      - `self` string, uri, required: Self link
    - `items` AllowedExtHosts[]
      - `allowedExtHosts` object, required
        - `scope` string, uri, required: Reference to the scope of the value. Possible values are: + Domain scope: `/gdc/domains/{domainId}` + Project scope: `/gdc/projects/{projectId}`
        - `name` string: Optional name for the specified record
        - `id` string: Generated ID
        - `value` string[], required: List of expressions to match allowed hosts

## Other responses

- `400`: The API call failed due to invalid parameters. Check the response for details.
- `401`: User is not authenticated.
- `default`: Common error

---

[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)
