---
title: "Rename file"
method: POST
path: "/api/file/{DirName}/rename/{source}/{dest}"
tags: ["file"]
---

# Rename file

`POST /api/file/{DirName}/rename/{source}/{dest}`

Renames the specified file from `:source` to `:dest` within the given directory.

## Response `200`

File renamed successfully

- object

---

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