Skip to main content

Update an email template group (JSON Merge Patch).

PATCH/api/v1/email-template-groups/{email_template_group_id}email_templates:write

A parent that would create a cycle is refused.

Scopeemail_templates:write
AsynchronousNo
MCP toolupdate_email_template_group
Portal permissionsedit_email_template_groups

Parameters​

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

Request body​

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

Responses​

StatusDescriptionBody
200Success.application/json EmailTemplateGroup 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_existsapplication/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​

EmailTemplateGroup​

FieldTypeRequiredDescription
descriptionstring or nullRequired
email_template_group_idstringRequired
namestring or nullRequired
parent_email_template_group_idstring or nullRequiredThe parent group; null for a top-level group.

EmailTemplateGroupPatchInput​

FieldTypeRequiredDescription
descriptionstring or nullOptional
email_template_group_idstring or nullOptional
namestring or nullOptional
parent_email_template_group_idstring or nullOptional