Partially updates a metaobject definition. The body is a JSON Merge Patch document: change the name, displayNameField, or the fieldDefinitions.
Headers
Name
Type
Required
Description
X-Flowkiwi-Organization-Id
string
required
The organization the request acts as. Determines the identity, permissions and ownership applied when reading or modifying data on the instance.
Path parameters
Name
Type
Required
Description
id
string
required
MetaobjectDefinition identifier
Request body
Property
Type
Required
Description
name
string | null
-
description
string | null
-
displayNameField
string | null
-
The key of the field definition used as the display name for records of this type. Optional - when omitted it is null and records have no derived display name. When set, it must match the key of one of this definition's fieldDefinitions, otherwise the request is rejected with 422.
fieldDefinitions
EmbeddedMetaobjectFieldDefinitionResource[]
-
The field definitions that make up this metaobject definition.
Show fieldDefinitions fields
Property
Type
Required
Description
key
string
required
The field key, unique within the definition (referenced by metaobject fields).
name
string
required
The human-readable name of the field.
description
string | null
-
An optional description of the field.
type
string
required
The field data type, as an IRI to the field-type resource.
required
boolean
-
Whether a value for this field is required on metaobjects of the definition.
The validation rules applied to values of this field.
Show validations fields
Property
Type
Required
Description
name
string
required
The type of validation rule
value
string
required
The validation parameter value. Format depends on the validation type.
Response
200 - MetaobjectDefinition resource updated
Property
Type
Required
Description
@context
object
-
@id
string
required
@type
string
required
id
string
-
The resource's unique identifier (UUID).
type
string
required
The unique slug identifier for this metaobject definition.
name
string
required
The human-readable name of the metaobject definition.
description
string | null
-
The description of the metaobject definition.
displayNameField
string | null
-
The key of the field definition used as the display name for records of this type. Optional - when omitted it is null and records have no derived display name. When set, it must match the key of one of this definition's fieldDefinitions, otherwise the request is rejected with 422.
fieldDefinitions
EmbeddedMetaobjectFieldDefinitionResource[]
-
The field definitions that make up this metaobject definition.
Show fieldDefinitions fields
Property
Type
Required
Description
id
string
-
The resource's unique identifier (UUID).
key
string
required
The field key, unique within the definition (referenced by metaobject fields).
name
string
required
The human-readable name of the field.
description
string | null
-
An optional description of the field.
type
string
required
The field data type, as an IRI to the field-type resource.
required
boolean
-
Whether a value for this field is required on metaobjects of the definition.
The validation rules applied to values of this field.
Show validations fields
Property
Type
Required
Description
name
string
required
The type of validation rule
value
string
required
The validation parameter value. Format depends on the validation type.
createdAt
string
-
The date and time when the resource was created (ISO 8601 format).
updatedAt
string
-
The date and time when the resource was last modified (ISO 8601 format).
Property
Type
Required
Description
id
string
-
The resource's unique identifier (UUID).
type
string
required
The unique slug identifier for this metaobject definition.
name
string
required
The human-readable name of the metaobject definition.
description
string | null
-
The description of the metaobject definition.
displayNameField
string | null
-
The key of the field definition used as the display name for records of this type. Optional - when omitted it is null and records have no derived display name. When set, it must match the key of one of this definition's fieldDefinitions, otherwise the request is rejected with 422.
fieldDefinitions
EmbeddedMetaobjectFieldDefinitionResource[]
-
The field definitions that make up this metaobject definition.
Show fieldDefinitions fields
Property
Type
Required
Description
id
string
-
The resource's unique identifier (UUID).
key
string
required
The field key, unique within the definition (referenced by metaobject fields).
name
string
required
The human-readable name of the field.
description
string | null
-
An optional description of the field.
type
string
required
The field data type, as an IRI to the field-type resource.
required
boolean
-
Whether a value for this field is required on metaobjects of the definition.