---
title: "Update custom field"
method: POST
path: "/customFields/update"
tags: ["CustomFields"]
---

# Update custom field

`POST /customFields/update`

## Request

- Base URL: `https://api.pics.io`
- URL: `https://api.pics.io/customFields/update`
- Auth: HTTP bearer

## Request body

- object
  - `force` boolean: ‼️ Skip checking for changing type of custom field, if type changed -> custom field will be removed from all assets (use with caution)
  - `customFields` object[]
    - `type` 'enum' | 'input' | 'int' | 'boolean' | 'date' | 'separator'
    - `title` string: Use Latin characters, do not put spaces and punctuation
    - `description` string
    - `order` number
    - `visibility` 'visible' | 'hidden' | 'hidden_while_empty'
    - `writable` boolean
    - `multiple` boolean: Only for type `enum`
    - `options` string[]: Only for type `enum`

## Response `200`

Ok

- unknown

---

[API](https://skmtc.dev/pics/apis/pics-io-rest-api.md) - [All operations](https://skmtc.dev/pics/apis/pics-io-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pics/apis/pics-io-rest-api/revisions/ea41cba5ac37?raw)
