---
title: "Update Folder"
method: POST
path: "/api/v1/folders/{folder_id}"
tags: ["Folders"]
---

# Update Folder

`POST /api/v1/folders/{folder_id}`

Update an existing folder.

## Path parameters

- `folder_id` integer, required — ID of the folder to update.

## Request body

- Body09503d19
  - `name` string, nullable — Updated folder name. Passing null or omitting this field will leave it unchanged.
  - `default_order` integer, nullable — Updated default position of the folder. Passing null or omitting this field will leave it unchanged.

## Response `200`

Successful Response

- FolderSyncView
  - `id` string, required — String ID of the folder.
  - `name` string, required — Folder name.
  - `workspace_id` string, required — String ID of the workspace that contains the folder.
  - `default_order` integer, required — Default position of the folder in the workspace.
  - `child_order` integer, required — User-specific position of the folder.
  - `is_deleted` boolean, required — Whether the folder is deleted.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

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