---
title: "Update a single Folder"
method: PATCH
path: "/folders/{id}.json"
tags: ["Folders"]
---

# Update a single Folder

`PATCH /folders/{id}.json`

Update Folder, move Folder to another Folder, and/or restore a trashed Folder.

## Path parameters

- `id` integer, required

## Query parameters

- `fields` string

## Headers

- `IF-MATCH` string
- `X-API-VERSION` string

## Request body

- object
  - `data` object, required
    - `document_category` object
      - `id` integer — The unique identifier for a single DocumentCategory associated with the Folder. Use the keyword `null` to specify no association.
    - `external_properties` object[]
      - `id` integer — The unique identifier for a single ExternalProperty associated with the Folder. The keyword `null` is not valid for this field.
      - `name` string — The ExternalProperty name. Note: **there is a limit of 5 external_properties per Folder**
      - `value` string — The ExternalProperty value.
      - `_destroy` boolean — The destroy flag. If the flag is set to `true` and the unique identifier of the associated ExternalProperty is present, the ExternalProperty is deleted from the Folder.
    - `name` string — Name of the Folder
    - `parent` object
      - `id` integer — The unique identifier of the parent object.
      - `type` 'Folder' | 'Contact' | 'Matter' — Type of parent object: * "Folder" represents a specified folder on Clio by folder id. It if specified when you add / move an item to a folder. * "Contact" represents a contact folder on Clio identified by contact id. It is specified when you add / move an item to a contact folder. A contact folder will be created for the specified contact if none exists already. * "Matter" represents a matter folder on Clio identified by matter id. It is specified when you add / move an item to a matter folder.
    - `restore` boolean — Whether or not a trashed Folder should be restored.

## Response `200`

Ok

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `412` — Precondition Failed
- `422` — Unprocessable Entity
- `429` — Too Many Requests

---

[API](https://skmtc.net/clio/apis/clio-api-documentation.md) · [All operations](https://skmtc.net/clio/apis/clio-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clio/clio-api-documentation/versions/94a82114ec3b/schema)
