---
title: "Update a folder"
method: PUT
path: "/hierarchy/{id}"
tags: ["Hierarchy"]
---

# Update a folder

`PUT /hierarchy/{id}`

## Path parameters

- `id` string, required

## Request body

- HierarchyInput
  - `name` string, nullable — The new name of the folder

## Response `200`

Success

## Other responses

- `401` — Unauthorized
- `404` — Not Found

---

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