> ## Documentation Index
> Fetch the complete documentation index at: https://developers.myhero.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Rename document

> Rename a document or folder.

`rename_document`

Rename a document or folder.

## Parameters

<ParamField path="documentId" type="string" required />

<ParamField path="name" type="string" required>
  New name.
</ParamField>
