# Edit external layer

| **Description** | Edits an external layer of your account. |
| --------------- | ---------------------------------------- |
| **Endpoint**    | `/account/externalLayer/{layerId}`       |
| **Method**      | PATCH                                    |

### Access Level Rules

| **Access Level** | Account holder |
| ---------------- | -------------- |

### Processing Units

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

### Parameters

<table><thead><tr><th>Name</th><th width="362">Description</th><th>Required</th><th>Default</th></tr></thead><tbody><tr><td><code>layerId</code></td><td>The id of the external layer to edit.</td><td>true</td><td></td></tr><tr><td><code>name</code></td><td>The new name of the external layer.</td><td>false</td><td></td></tr><tr><td><code>url</code></td><td>The new url of the external layer.</td><td>false</td><td></td></tr><tr><td><code>type</code></td><td>A string describing the new type of the external layer. Must be one of "wfs", "wms", "vectorTiles", or "wmts".</td><td>false</td><td></td></tr><tr><td><code>layer</code></td><td>The new name of the layer at the external source that should be used for the external layer within Ellipsis Drive.</td><td>false</td><td></td></tr><tr><td><code>epsg</code></td><td>Integer representing the new coordinate reference system(crs) of the external layer.</td><td>false</td><td></td></tr><tr><td><code>zoom</code></td><td>Integer indicating the new maximum available zoomlevel.</td><td>Must be defined for types "wmts" and "vectorTiles".</td><td>Default null.</td></tr><tr><td><code>tileMatrixSet</code></td><td>String containing the new tileMatrixSet of a type "wmts" external layer.</td><td>Must be defined for type "wmts".</td><td>Default null.</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/account/external-layer/edit-external-layer.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.
