Skip to navigation

Update Custom Field

Renames a custom field. Shared rules: see Writing data.

  • The body is closed: an unknown field is refused with 400 "Unknown field." Counts toward your write budget.
  • name is the current field name, matched exactly (see GET /company/custom-fields). An unknown name is refused with 400 on name.
  • new_name is at most 30 characters and must be unique in the company.
  • Only the name changes: staff values stay with the field. There is no delete.

Authentication

AuthorizationApi-Key

Format: “Api-Key {api-key}”

Request

This endpoint expects an object.
namestringRequired
Current exact field name.
new_namestringRequired1-30 characters
New field name. Unique in the company.

Response

The custom field was renamed.
messagestring
statusboolean
dataobject

Errors

400
Bad Request Error
403
Forbidden Error