key, title, type, path, reference, required, options, section, uiComponent, children and rules on each field — properties such as active, editable, category, index, id, createdAt, updatedAt and sectionKey are rejected. If a field references a section (section) through its key, that section must have been previously declared when the template was created — referencing a section that doesn't exist results in an error stating the section was not found.curl --location --request PUT '/templates//fields' \
--header 'Content-Type: application/json' \
--data '{
"fields": [
{
"key": "string",
"title": "string",
"type": "default",
"path": "string",
"reference": "string",
"required": true,
"uiComponent": "short-text",
"section": "string",
"options": [
"string"
],
"children": [
{}
]
}
]
}'{
"fields": [
{
"key": "string",
"title": "string",
"type": "default",
"path": "string",
"reference": "string",
"required": true,
"uiComponent": "short-text",
"section": "string",
"options": [
"string"
],
"children": [
{}
]
}
],
"active": true
}