---
title: "Move file"
method: POST
path: "/v2/file-systems/{file_system_key}/files/move"
tags: ["File Systems"]
---

# Move file

`POST /v2/file-systems/{file_system_key}/files/move`

## Request

- Base URL: `https://my.orq.ai`
- URL: `https://my.orq.ai/v2/file-systems/{file_system_key}/files/move`
- Auth: HTTP bearer

Moves or renames one file or folder within the same file system. Missing destination folders are created.

## Path parameters

- `file_system_key` string, required

## Request body

- MoveFileSystemFileRequest
  - `from` string, required: Current path of the file or folder, relative to the file system root
  - `to` string, required: New path of the file or folder, relative to the file system root

## Response `201`

File successfully moved.

- MoveFileSystemFileResponse
  - `from` string, required
  - `to` string, required

## Other responses

- `409`: Conflict - The destination already exists.

## Changes

> 554 revisions in range; 71 not diffed.

- **2026-09-18** `cc88b6279141`: 1 info
  - endpoint added
- **2026-09-18** `8325d2fb1236`: 1 breaking
  - api path removed without deprecation
- **2026-09-16** `1f47658efe96`: 1 info
  - endpoint added
- **2026-09-15** `285b3d3f9d6d`: 1 breaking
  - api path removed without deprecation
- **2026-09-15** `a457cc33ecba`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/orq-ai/apis/orq-ai-api/changes/v2/file-systems/:file_system_key/files/move/post.md)

---

[API](https://skmtc.dev/orq-ai/apis/orq-ai-api.md) - [All operations](https://skmtc.dev/orq-ai/apis/orq-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/orq-ai/apis/orq-ai-api/revisions/928a71e92252?raw)
