---
title: "Rename file or folder"
method: POST
path: "/v2/files/rename"
tags: ["v2"]
---

# Rename file or folder

`POST /v2/files/rename`

Use this API method to rename (or move) a file or folder.

## Query parameters

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

## Response `default`

Successful

---

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