Skip to main content

Update a custom field template group.

PATCH/api/v1/custom-field-template-groups/{custom_field_template_group_id}custom_fields:write

Needs Edit Custom Field Template Groups. Only what is sent changes; a parent never becomes the group itself or a descendant.

Scopecustom_fields:write
AsynchronousNo
MCP toolupdate_custom_field_template_group
Portal permissionsedit_custom_field_template_groups

Parameters​

NameInTypeRequiredDescription
custom_field_template_group_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Request body​

Content typeType
application/jsonCustomFieldTemplateGroupPatchInput
application/merge-patch+jsonCustomFieldTemplateGroupPatchInput

Responses​

StatusDescriptionBody
200Success.application/json CustomFieldTemplateGroup or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409already_exists, conflictapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

CustomFieldTemplateGroup​

FieldTypeRequiredDescription
custom_field_template_group_idstringRequired
descriptionstring or nullRequired
namestringRequired
parent_custom_field_template_group_idstring or nullRequiredThe parent group; null for a top-level group.

CustomFieldTemplateGroupPatchInput​

FieldTypeRequiredDescription
custom_field_template_group_idstring or nullOptional
descriptionstring or nullOptional
namestring or nullOptional
parent_custom_field_template_group_idstring or nullOptional