Custom fields
Create a dataobject custom field
Define a new custom field for data objects. `options` is required for `select` and `multi_select` fields, and ignored otherwise.
Required scope tenant:edit
/data/custom-fieldsAuthorizations
AuthorizationstringrequiredAuthorization header carrying a workspace API key, as “Bearer kbn_live_…”. The X-Api-Key header is accepted equivalently.
Bodyapplication/json
namestringrequiredLabel of the field.
typeenum<string>requiredType of the field.
Available options: text, select, multi_select, date
descriptionstringHelp text shown next to the field.
iconstringIcon of the field.
optionsobject[]Options offered, for `select` and `multi_select` fields.
Response201 · application/json
The definition was created.
idstring<uuid>requiredIdentifier of the definition.
namestringrequiredLabel of the field.
typeenum<string>requiredType of the field, which determines the shape of its values.
Available options: text, select, multi_select, date
descriptionstring | nullHelp text shown next to the field.
optionsobject[]Available options, for `select` and `multi_select` fields.