# Update hosting location

| **Description** | Move the data of the layer to a different location. |
| --------------- | --------------------------------------------------- |
| **Endpoint**    | `/path/{pathId}/relocate`                           |
| **Method**      | POST                                                |

### Access Level Rules

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

### Processing Units

| **Minimum processing units** | 0 |
| ---------------------------- | - |

### Parameters

<table><thead><tr><th>Name</th><th width="304">Description</th><th>Required</th><th>Default</th></tr></thead><tbody><tr><td><code>pathId</code></td><td>The id of the path to move to a different location.</td><td>true</td><td></td></tr><tr><td><code>locationId</code></td><td>The id of the server location to move the data of the path to.<br><br>See <a href="../ellipsis-drive-locations/get-locations">this API call</a> for a list of all hosting locations.</td><td>true</td><td></td></tr></tbody></table>
