# White list domains

If you want to prevent other website domains from using your public layers you can attach a domain white list to a layer. Only websites with an origin on the provided domains list will be able to make requests to the given layer.

| **Description** | White list certain domains for using your layer |
| --------------- | ----------------------------------------------- |
| **Endpoint**    | `/path/{pathId}/domain`                         |
| **Method**      | PUT                                             |

### Access Level Rules

| **Minimum Access Level** | edit+ |
| ------------------------ | ----- |

### Processing Units

| **Processing units** | 0 |
| -------------------- | - |

### Parameters

<table><thead><tr><th>Name</th><th width="312">Description</th><th>Required</th><th>Default</th></tr></thead><tbody><tr><td><code>pathId</code></td><td>The id of the path to change the white list of.</td><td>true</td><td></td></tr><tr><td><code>domains</code></td><td>An array of domain names as strings to use as a whitelist for your path.</td><td>true</td><td></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ellipsis-drive.com/developers/api-v3/path/white-list-domains.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
