> For the complete documentation index, see [llms.txt](https://developers.couchdrop.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.couchdrop.io/filesystem-operations/managing-files-1.md).

# Rename files/folders

## Renaming a file

## /file/rename

<mark style="color:green;">`POST`</mark> `https://fileio.couchdrop.io/file/rename`

Rename a file

#### Headers

| Name  | Type   | Description      |
| ----- | ------ | ---------------- |
| token | string | API Access Token |

#### Request Body

| Name     | Type   | Description      |
| -------- | ------ | ---------------- |
| path\_to | string | Destination Path |
| path     | string | Source Path      |

{% tabs %}
{% tab title="200 " %}

```
{
    "rename": true
}
```

{% endtab %}
{% endtabs %}

&#x20;
