---
title: "Move or rename a file or directory"
method: PUT
path: "/browsers/{id}/fs/move"
tags: ["Browser Filesystem"]
---

# Move or rename a file or directory

`PUT /browsers/{id}/fs/move`

## Path parameters

- `id` string, required

## Request body

- MovePathRequest
  - `src_path` string, required — Absolute source path.
  - `dest_path` string, required — Absolute destination path.

## Response `200`

Move successful

## Other responses

- `400` — Bad Request – invalid input
- `403` — Forbidden – insufficient permissions or plan
- `404` — Resource not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/kernel/apis/kernel-api.md) · [All operations](https://skmtc.net/kernel/apis/kernel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kernel/kernel-api/versions/9e8ce9fcf5e1/schema)
