> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinbox.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a custom field

> Nome, tipo, opções, descrição e obrigatório. Campo de integração não muda (400).



## OpenAPI

````yaml patch /v1/custom-fields/{id}
openapi: 3.0.0
info:
  title: Kinbox API
  description: Kinbox public API
  version: '2.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /v1/custom-fields/{id}:
    patch:
      tags:
        - v1CustomFields
      summary: Update a custom field
      description: >-
        Nome, tipo, opções, descrição e obrigatório. Campo de integração não
        muda (400).
      operationId: updateCustomField
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: number
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCustomFieldPublicDto'
      responses:
        '200':
          description: ''
components:
  schemas:
    UpdateCustomFieldPublicDto:
      type: object
      properties:
        name:
          type: string
        type:
          type: string
          enum:
            - text
            - textarea
            - select
            - multi-select
            - boolean
            - number
            - decimal
            - day
            - datetime
            - json
        options:
          description: Opções de `select` e `multi-select` (obrigatório nesses tipos)
          type: array
          items:
            type: string
        description:
          type: string
        required:
          type: boolean
          description: Obrigatório para resolver a conversa

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.