---
title: "Move file"
method: POST
path: "/v1/files/move"
tags: ["Digital Asset Management (DAM)", "Managing assets"]
---

# Move file

`POST /v1/files/move`

This will move a file and all its versions from one folder to another. 

Note: If any file at the destination has the same name as the source file, then the source file and its versions will be appended to the destination file.

## Request body

- object
  - `sourceFilePath` string, required — The full path of the file you want to move.
  - `destinationPath` string, required — Full path to the folder you want to move the above file into.

## Response `204`

File moved successfully.

- object

## Other responses

- `400` — Bad request.
- `401` — Unauthorized request.
- `403` — Forbidden.
- `404` — File not found.
- `429` — The request exceeded the rate limit. Contains headers indicating the limits and a message detailing the error.

---

[API](https://skmtc.dev/imagekit-developer/apis/imagekit-api.md) · [All operations](https://skmtc.dev/imagekit-developer/apis/imagekit-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/imagekit-developer/imagekit-api/revisions/bb3e9ff84b3e/schema)
