---
title: "Agent Update Folder"
method: PATCH
path: "/agent/folders/{folder_id}"
---

# Agent Update Folder

`PATCH /agent/folders/{folder_id}`

## Request

- Base URL: `https://app.wunel.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.wunel.com/agent/folders/{folder_id}`
- Auth: none declared

Rename and/or move a folder (and everything under it). Only fields you send.

`workspace_id` moves the whole subtree to another workspace — how two spaces
are merged. The principal must be able to edit on both sides.

## Path parameters

- `folder_id` string, required

## Request body

- AgentUpdateRequest
  - `name` string, nullable
  - `folder_id` string, nullable
  - `parent_id` string, nullable
  - `workspace_id` string, nullable
  - `update_links` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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