---
title: "Update a folder's name or color"
method: PATCH
path: "/user/folders/{folderId}"
tags: ["folders"]
---

# Update a folder's name or color

`PATCH /user/folders/{folderId}`

## Path parameters

- `folderId` string, required

## Request body

- object
  - `color` string
  - `name` string

## Response `200`

OK

## Other responses

- `400` — Invalid user ID or folder ID
- `500` — Failed to update folder

---

[API](https://skmtc.net/schej-it/apis/schej-it-api.md) · [All operations](https://skmtc.net/schej-it/apis/schej-it-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/schej-it/schej-it-api/revisions/c4d497429354/schema)
