# 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>
