# Update bookmark details

| **Description** | Updates bookmark          |
| --------------- | ------------------------- |
| **Endpoint**    | `/path/{pathId}/bookmark` |
| **Method**      | PATCH                     |

### Access Level Rules

| **Access Level** | View |
| ---------------- | ---- |

### Processing Units

| **Processing units** | 1 |
| -------------------- | - |

### 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 bookmark</td><td>true</td><td></td></tr><tr><td><code>layers</code></td><td><p>Array of JSONs. Each JSON should have the properties:</p><ul><li>type: one of "ellipsis", "base" or "external"</li><li>selected: boolean</li><li>id: the id of the layer or external layer (In case of type "base" use 1 for open street map and 2 for the Google maps satellite)</li></ul></td><td>false</td><td>Default null.</td></tr><tr><td><code>dems</code></td><td><p>Array of JSONs. Each JSON should have the properties:</p><ul><li>selected: boolean</li><li>id: the id of the raster layer</li></ul></td><td>false</td><td>Default null.</td></tr></tbody></table>
