Update custom field definition

PUT /api/v3/custom_field_definitions/{id}

Request conventions

API key or OAuth2 access token. See Authentication.

Use your account domain and token in copied requests. Request values and conditional fields must satisfy your account’s validation rules.

URL settings

The part before .aha.io. Leave blank to use the example domain.

ID of the custom field definition

Request fields

Send only the fields you want to change inside a JSON record object. This applies to both PUT and PATCH.

Only writable fields for this endpoint are listed. Required flags reflect the endpoint schema; record and workspace validation also applies.

FieldTypeResponse field

Name of the custom field definition.

stringname

Internal name of the custom field definition, shown only to administrators.

stringinternal_name

Key of the custom field definition. Must be unique per record type and only use lowercase letters, numbers and underscores.

stringkey

HTML description of the record.

stringdescription

Layouts the custom field definition appears on. Not settable for account-level or custom table fields, which have no layouts to choose. Items are merged into the existing collection: each item adds a record, or removes it with `_destroy: true`. Records not listed are left unchanged, and an empty array changes nothing.

arraylayouts

Text shown before the value of a number field. Null for other types.

stringprefix

Text shown after the value of a number field. Null for other types.

stringsuffix

Whether a number field shows thousands separators. Always false for other types.

booleanuse_delimiters

Label shown next to a checkbox field. Null for other types.

stringlabel

How a predefined or editable choice list field shows its value. Null for other types.

stringdisplay

Which records a records field offers as values: all in the account, those in the record's workspace line or workspace, or those related to the record. The scopes available depend on the field type and record type. Null for other types.

stringscope

File extensions an attachment field accepts, from: csv, doc, docx, eml, gif, jpeg, mov, mp4, msg, pdf, png, ppt, pptx, tiff, txt, xls, xlsx. Null or empty allows every file type. Null for other types.

arraysupported_file_types

ID of the custom table a relationship field links to; set on create only and null for other types.

stringlinked_custom_table

Which custom table records a many to many or many to one relationship field offers: all in the account, or those in the record's workspace and its parent lines. Idea organization fields only support account. Null for other types.

stringproject_scope

ID of the account scorecard a scorecard field uses; required for scorecard fields and null for other types.

stringscoring_system

Rows of a worksheet field. Send a row's id to update the fields you provide, omit the id to add a row at the end, or set _destroy to true to remove a row. Rows you don't send remain unchanged.

arrayworksheet_rows

Response fields

Choose which fields to include in the response. Expand a field for examples and associated fields. Collections can only be returned on the top-level resource, not inside an associated resource.

Default response fields are returned until you select specific fields.

FieldTypeReturned by default

Unique record ID.

integerYes

Name of the custom field definition.

stringYes

Internal name of the custom field definition, shown only to administrators.

stringNo

Key of the custom field definition. Must be unique per record type and only use lowercase letters, numbers and underscores.

stringYes

Type of the custom field definition.

stringYes

Record type the custom field definition belongs to. Custom table fields use custom_table.

stringNo

Custom table the custom field definition belongs to if record_type is custom_table.

CustomObjectDefinitionNo

HTML description of the record.

NoteNo

Layouts the custom field definition appears on. Not settable for account-level or custom table fields, which have no layouts to choose. Omitted by default. Request the field for inline records with default sub-fields, or choose sub-fields (e.g., ?fields=layouts[default]). Capped at 25 records. Only available on the top-level resource.

CollectionNo

Options of a choice custom field definition, including hidden options. Null for other types. Omitted by default. Request the field for inline records with default sub-fields, or choose sub-fields (e.g., ?fields=options[default]). Capped at 25 records. Only available on the top-level resource.

CollectionNo

Text shown before the value of a number field. Null for other types.

stringNo

Text shown after the value of a number field. Null for other types.

stringNo

Whether a number field shows thousands separators. Always false for other types.

booleanNo

Label shown next to a checkbox field. Null for other types.

stringNo

How a predefined or editable choice list field shows its value. Null for other types.

stringNo

Which records a records field offers as values: all in the account, those in the record's workspace line or workspace, or those related to the record. The scopes available depend on the field type and record type. Null for other types.

stringNo

File extensions an attachment field accepts, from: csv, doc, docx, eml, gif, jpeg, mov, mp4, msg, pdf, png, ppt, pptx, tiff, txt, xls, xlsx. Null or empty allows every file type. Null for other types.

arrayNo

Custom table a relationship field links to; set on create only and null for other types.

CustomObjectDefinitionNo

Which custom table records a many to many or many to one relationship field offers: all in the account, or those in the record's workspace and its parent lines. Idea organization fields only support account. Null for other types.

stringNo

Account scorecard a scorecard field uses; required for scorecard fields and null for other types.

ScoringSystemNo

Rows of a worksheet field, in display order. Null for other types. Omitted by default. Request the field for inline records with default sub-fields, or choose sub-fields (e.g., ?fields=worksheet_rows[default]). Capped at 25 records. Only available on the top-level resource.

CollectionNo

Date and time when the record was created.

date-timeNo

Date and time when the record was last updated.

date-timeNo

Search matches the start of a field path and includes matching associations’ subfields. Use a dotted path to search within a specific association.

Response field selection

Create and update responses also include fields submitted in the record body. Submitted association IDs return their associated response fields.

Return selected fields with a comma-separated fields parameter, or add a field to the defaults with fields=default,{field}. Expand an association above for its supported subfields and selection examples.

See field selection for details.

Response statuses

Error shape for 400, 401, 403, 404, 409

Type: object

error

Type: object

Required properties: status, code, message, request_id.

status

Type: integer

code

Type: string

message

Type: string

request_id

Type: string

Error shape for 422

Type: object

error

Type: object

Required properties: status, code, message, details, request_id.

status

Type: integer

Allowed values: 422

code

Type: string

Allowed values: "record.validation_failed", "record.cannot_delete"

message

Type: string

details

Type: array

Array item shape

Type: object

field

Type: string

message

Type: string

code

Type: string

request_id

Type: string

Response envelope and pagination

record: a single record. Fields are documented above.

Download the complete OpenAPI specification