- The
fieldpath parameter accepts the field UUID. - Renaming a field updates the stored field definition and renames the matching attribute on existing contacts in the workspace.
- Duplicate field names are rejected with
422 Unprocessable Entity. - The same type and format rules used during creation also apply when updating a field.
Update Field
Update an existing custom field in your workspace. The field path parameter accepts the field UUID, and renaming a field also renames that attribute on existing contacts.
Rename Behavior
What happens when you change the field name
POST
/v1/workspaces/:workspace/fields/:fieldUpdate a custom field by UUID
Path parameters
workspacestring Required ID of your workspace
fieldstring Required Field UUID
Request body
namestring Required Updated field name in snake_case
typestring Required Field type. Supported values are `text`, `integer`, `date`, `datetime`, and `boolean`.
formatobjectOptional format configuration based on the selected field type
Show Object Properties