---
title: "Move an existing file or folder in your application tree"
method: PUT
path: "/files"
tags: ["Files"]
---

# Move an existing file or folder in your application tree

`PUT /files`

## Query parameters

- `path` string, required

## Request body

- object
  - `newPath` string — Relative or absolute path where the item will be moved

## Other responses

- `500` — Internal server error

---

[API](https://skmtc.net/materiahq/apis/materia-server.md) · [All operations](https://skmtc.net/materiahq/apis/materia-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/materiahq/materia-server/versions/f4e80651bb93/schema)
