---
title: "Update Custom Field attributes for a folder."
method: PATCH
path: "/dam/folders/{folder_id}/custom-fields/{custom_fields_id}"
tags: ["DAM: Folders: Custom Fields"]
---

# Update Custom Field attributes for a folder.

`PATCH /dam/folders/{folder_id}/custom-fields/{custom_fields_id}`

## Request

- Base URL: `https://api.kontainer.com/jsonapi/v2`
- URL: `https://api.kontainer.com/jsonapi/v2/dam/folders/{folder_id}/custom-fields/{custom_fields_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/kontainer/apis/kontainer-api-documentation/docs/dam/folders/:folder_id/custom-fields/:custom_fields_id/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Patch DAM Folder Custom Fields
Endpoint for updating custom field attributes of a folder.

Only the elements present in the payload are written - an element left out keeps the value it holds.
Send an empty value to clear a value.

## Path parameters

- `folder_id` string, required
- `custom_fields_id` string, required

## Request body

- object
  - `data` object, required
    - `type` string, required: Resource Type
    - `attributes` object: Element values keyed by the element property name. A single-value element takes an object with a `value` key; a multi-value element takes an array of such objects.

## Response `200`

success

- CustomFields
  - `id` string
  - `type` string

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/kontainer/apis/kontainer-api-documentation.md) - [All operations](https://skmtc.dev/kontainer/apis/kontainer-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/kontainer/apis/kontainer-api-documentation/revisions/b80a5167e09a?raw)
