---
title: "Rename a folder"
method: PATCH
path: "/folders/{folder_id}"
tags: ["Folders"]
---

# Rename a folder

`PATCH /folders/{folder_id}`

## Request

- Base URL: `https://api.presscart.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.presscart.com/folders/{folder_id}`
- Auth: HTTP bearer

Update a folder name.

## Path parameters

- `folder_id` string, uuid, required

## Request body

- object
  - `name` string, required: New folder name

## Response `200`

Folder updated successfully

- Folder
  - `id` string, uuid, required
  - `name` string, required
  - `team_id` string, uuid, nullable, required
  - `created_by` string, uuid, nullable, required
  - `created_at` union, required
    - string, nullable
    - string
    - unknown
  - `updated_at` union, required
    - string, nullable
    - string
    - unknown
  - `deleted_at` union, required
    - string, nullable
    - string
    - unknown

---

[API](https://skmtc.dev/presscart/apis/presscart-prod-api.md) · [All operations](https://skmtc.dev/presscart/apis/presscart-prod-api/llms.txt) · [OpenAPI document](https://skmtc.dev/presscart/apis/presscart-prod-api/revisions/2154581d845e?raw)
