Update contact field
PATCH/api/v1/fields/{id}
Updates the definition without changing the field identity, key or type.
Scope
fields:writeUpdate contact field – the person behind the key must be administrator.
Path parameters
idstringrequired- The field ID.
Body
JSON, Content-Type: application/json. Unknown fields return 422.
labelstring- at least 1 characters · at most 100 characters
optionsarray<string>- at most 100
requiredbooleanshow_in_listboolean
Response
200 The updated field definition.
idstringrequired- The field ID.
keystringrequired- The key in fields on a contact, and in merge fields such as {{attr.kundnummer}}.
labelstringrequiredtypestringrequiredtextnumberdatebooleanselectemailphoneurlpersonnummeroptionsarray<string> | nullrequired- The options for a field of type select.
requiredbooleanrequired- Must be provided when a contact is created.
sensitivebooleanrequired- Sensitive field (personal identity number): can be neither read nor written via the API.
inheritedbooleanrequired- The field comes from a level above in the organisation.
Errors
- 400
- bad_request
- 404
- not_found
- 429
- rate_limited