/api/public/v1/devices/{id}/storage/movedevices.storage.move
Move every profile folder of the machine to another absolute folder (worker 0.9.5+): refused while a browser runs; copied or renamed, verified file by file, then switched; progress and outcome appear in devices.list `storage.move`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
idpath | string (uuid) | Yes | Device id |
command_idbody | string (uuid) | Yes | Client-generated UUID for this command. Send the same id (and body) again to get the stored receipt instead of a second change; a different body under the same id is CONFLICT. |
tobody | string | Yes | Absolute folder on the machine, e.g. D:\Browlix\profiles or /srv/browlix/profiles; empty or new; never a network share (min length 2, max length 400) |
Examples
curl -X POST "https://browlix.com/api/public/v1/devices/<id>/storage/move" \
-H "Authorization: Bearer $BROWLIX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"command_id":"<uuid>","to":"<to>"}'Response
201 with { data, replayed: false, correlation_id } the first time; 200 with replayed: true when the same command_id and body come again.
Errors
| Code | HTTP | Retryable |
|---|---|---|
| UNAUTHENTICATED | 401 | No |
| FORBIDDEN | 403 | No |
| RATE_LIMITED | 429 | Yes |
| VALIDATION_FAILED | 422 | No |
| NOT_FOUND | 404 | No |
| CONFLICT | 409 | No |
| OUTCOME_UNKNOWN | 202 | Yes |
| DEPENDENCY_UNAVAILABLE | 503 | Yes |
| UNKNOWN | 500 | No |
