---
title: "Update Multiple Folders"
method: PATCH
path: "/folders"
tags: ["Folders"]
---

# Update Multiple Folders

`PATCH /folders`

Update multiple folders at the same time.

## Query parameters

- `fields` string[]
- `limit` integer
- `meta` string
- `offset` integer
- `sort` string[]
- `search` string

## Request body

- object
  - `data` object
    - `name` string, required — Name of the folder.
    - `parent` integer — Unique identifier of the parent folder. This allows for nested folders.
  - `keys` string[]

## Response `200`

Successful request

- object
  - `data` Folders[]
    - `id` string — Unique identifier for the folder.
    - `name` string — Name of the folder.
    - `parent` union — Unique identifier of the parent folder. This allows for nested folders.
      - string
      - Folders — recursive
  - `meta` XMetadata
    - `total_count` integer — Returns the total item count of the collection you're querying.
    - `filter_count` integer — Returns the item count of the collection you're querying, taking the current filter/search parameters into account.

## Other responses

- `401` — Error: Unauthorized request

---

[API](https://skmtc.dev/utomic-media/apis/dynamic-api-specification.md) · [All operations](https://skmtc.dev/utomic-media/apis/dynamic-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/utomic-media/dynamic-api-specification/revisions/4a0ccd34700e/schema)
