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

# Rename or move a folder

`PATCH /folders/{id}`

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `parent_id` string, nullable — New parent folder id, or null to move to the top level

## Response `200`

Folder updated

## Other responses

- `400` — Invalid update (e.g. would create a cycle)
- `404` — Folder not found

---

[API](https://skmtc.dev/omnisocials/apis/omnisocials-api.md) · [All operations](https://skmtc.dev/omnisocials/apis/omnisocials-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/omnisocials/omnisocials-api/revisions/e53b89af0b98/schema)
