---
title: "Rename Documents Folder"
method: PUT
path: "/public/v1/documents/folders/{id}"
tags: ["Folders"]
---

# Rename Documents Folder

`PUT /public/v1/documents/folders/{id}`

## Request

- Base URL: `https://api.pandadoc.com`
- URL: `https://api.pandadoc.com/public/v1/documents/folders/{id}`
- Auth: one of:
  - API key in header `Authorization`
  - OAuth 2
    - Authorization code: `https://app.pandadoc.com/oauth2/authorize`
    - Token URL: `https://api.pandadoc.com/oauth2/access_token`
- TypeScript: <https://skmtc.dev/pandadoc/apis/pandadoc-public-api/docs/public/v1/documents/folders/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

Rename Documents Folder.

For the full list of folder operations and their limitations, see [Organize Documents and Folders](https://developers.pandadoc.com/docs/organize-folders).

## Path parameters

- `id` string, required

## Request body

- DocumentsFolderRenameRequest
  - `name` string, required: Provide a new name for the folder.

## Response `200`

OK

- DocumentsFolderRenameResponse
  - `uuid` string
  - `name` string
  - `date_created` string

## Other responses

- `400`: Bad Request
- `401`: Authentication error
- `404`: Not found
- `429`: Too Many Requests

---

[API](https://skmtc.dev/pandadoc/apis/pandadoc-public-api.md) - [All operations](https://skmtc.dev/pandadoc/apis/pandadoc-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pandadoc/apis/pandadoc-public-api/revisions/b9a306b1a421?raw)
