---
title: "Update Folder"
method: PUT
path: "/v2/folders/{id}"
tags: ["Folder API"]
---

# Update Folder

`PUT /v2/folders/{id}`

Rename and/or move a folder. Include the parent field to move the folder (set parent_folder_id to move under another folder, or leave it unset to move to the root).

## Path parameters

- `id` string, required — The ID of the folder. The owning team is resolved from the folder.

## Request body

- object
  - `name` string, nullable — New name. Omit to leave the name unchanged.
  - `parent` SvflowPublicapiParentFolderIdUpdate — A presence-tracked parent-folder update. The message wrapper lets the JSON surface distinguish "omitted" (leave the folder where it is) from a move: send the wrapper with parent_folder_id set to move the folder under that parent, or with parent_folder_id unset to move it to the root.
    - `parentFolderId` string, nullable — The destination parent folder. Unset moves the folder to the root.

## Response `200`

Success

- SvflowPublicapiUpdateFolderResponse
  - `data` SvflowPubapimodelsFolder — A folder organizing a specific type of item within a team.
    - `id` string — The ID of the folder.
    - `teamId` string — The ID of the team that the folder belongs to.
    - `name` string — The name of the folder.
    - `itemType` 'FOLDER_ITEM_TYPE_UNSPECIFIED' | 'FOLDER_ITEM_TYPE_FOLDER' | 'FOLDER_ITEM_TYPE_WORKFLOW' | 'FOLDER_ITEM_TYPE_GUIDANCE' — Types of items that can appear in folder contents.
    - `parentFolderId` string, nullable — The ID of the parent folder. Unset when the folder is at the root of the team's folder tree.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/serval/apis/serval-public-api.md) · [All operations](https://skmtc.net/serval/apis/serval-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/serval/serval-public-api/versions/0549515e9384/schema)
