---
title: "Updates an existing folder"
method: PUT
path: "/Folders/{FolderId}"
tags: ["Files"]
---

# Updates an existing folder

`PUT /Folders/{FolderId}`

By passing in the appropriate ID and properties, you can update a folder

## Path parameters

- `FolderId` string, uuid, required

## Headers

- `Idempotency-Key` string

## Request body

- Folder
  - `Name` string — The name of the folder
  - `FileCount` integer — The number of files in the folder
  - `Email` string — The email address used to email files to the inbox. Only the inbox will have this element.
  - `IsInbox` boolean — to indicate if the folder is the Inbox. The Inbox cannot be renamed or deleted.
  - `Id` string, uuid — Xero unique identifier for a folder Files

## Response `200`

return the updated object

- Folder
  - `Name` string — The name of the folder
  - `FileCount` integer — The number of files in the folder
  - `Email` string — The email address used to email files to the inbox. Only the inbox will have this element.
  - `IsInbox` boolean — to indicate if the folder is the Inbox. The Inbox cannot be renamed or deleted.
  - `Id` string, uuid — Xero unique identifier for a folder Files

## Other responses

- `400` — invalid input, object invalid

---

[API](https://skmtc.net/xeroapi/apis/xero-files-api.md) · [All operations](https://skmtc.net/xeroapi/apis/xero-files-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xeroapi/xero-files-api/versions/64c08f9a8548/schema)
