---
title: "Update Folder"
method: PUT
path: "/api/v1/folders/{folder_id}"
tags: ["folders"]
---

# Update Folder

`PUT /api/v1/folders/{folder_id}`

## Request

- Base URL: `https://api.slidemaster.tw` (the document declares no server; this is the origin it was published from)
- URL: `https://api.slidemaster.tw/api/v1/folders/{folder_id}`
- Auth: none declared

更新資料夾（名稱、顏色）

## Path parameters

- `folder_id` string, required

## Headers

- `Authorization` string, nullable

## Request body

- FolderUpdate
  - `name` string, nullable
  - `color` string, nullable

## Response `200`

Successful Response

- FolderResponse
  - `id` string, required
  - `name` string, required
  - `color` string, required
  - `project_count` integer
  - `created_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api.md) · [All operations](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/revisions/a964c005977e?raw)
