メインコンテンツまでスキップ

Update an email template (JSON Merge Patch).

PATCH/api/v1/email-templates/{email_template_id}email_templates:write
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

email_template_group_id moves the template to an email group (null ungroups it). Setting default_use_case releases it from the template that held it.

スコープemail_templates:write
非同期いいえ
MCP ツールupdate_email_template
Portal の権限edit_email_templates

パラメーター​

名前場所型必須説明
email_template_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

リクエスト本文​

Content-Type型
application/jsonEmailTemplatePatchInput
application/merge-patch+jsonEmailTemplatePatchInput

応答​

ステータス説明本文
200Success.application/json EmailTemplate または 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
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

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

EmailTemplate​

フィールド型必須説明
body_htmlstring または null必須
default_use_casestring または null必須
deleted_atstring (date-time) または null必須
email_template_group_idstring または null必須
email_template_idstring必須
is_defaultboolean必須Whether the template holds a default use case.
settingsobject または null必須
subjectstring または null必須
template_namestring または null必須

EmailTemplatePatchInput​

フィールド型必須説明
body_htmlstring または null任意
default_use_casestring または null任意
deleted_atstring (date-time) または null任意
email_template_group_idstring または null任意
email_template_idstring または null任意
is_defaultboolean または null任意
settingsobject または null任意
subjectstring または null任意
template_namestring または null任意