---
title: "Update Contact Field"
method: PATCH
path: "/v1/contact/contact_fields/{field_id}"
tags: ["contact"]
---

# Update Contact Field

`PATCH /v1/contact/contact_fields/{field_id}`

## Request

- Base URL: `https://api.linktodm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.linktodm.com/v1/contact/contact_fields/{field_id}`
- Auth: HTTP bearer

Update a User Field's name/description/folder (slug/type immutable).

## Path parameters

- `field_id` integer, required

## Request body

- ContactFieldDefinitionUpdate: Payload for updating a User Field. Slug and type are immutable.
  - `name` string, nullable
  - `description` string, nullable
  - `folder` string, nullable

## Response `200`

Successful Response

- ContactFieldDefinitionResponse
  - `id` integer, required
  - `name` string, required
  - `slug` string, required
  - `type` 'TEXT' | 'NUMBER' | 'DATE' | 'DATETIME' | 'BOOLEAN' | 'ARRAY', required: Data type of a custom contact User Field.
  - `description` string, nullable
  - `folder` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/linktodm/apis/salesmorph.md) - [All operations](https://skmtc.dev/linktodm/apis/salesmorph/llms.txt) - [OpenAPI document](https://skmtc.dev/linktodm/apis/salesmorph/revisions/4af0ad5dbe92?raw)
