Restore a deleted email template.
POST/api/v1/email-templates/{email_template_id}/restoreemail_templates:write
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
The default use case returns to the template unless another live template now holds it.
| スコープ | email_templates:write |
| 非同期 | いいえ |
| MCP ツール | restore_email_template |
| Portal の権限 | restore_email_templates |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
email_template_id | path | string | 必須 | |
Docwize-Version | header | string (date) | 任意 | |
Idempotency-Key | header | string | 任意 | max 255 |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json EmailTemplate |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
409 | idempotency_in_progress | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | idempotency_key_reused, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
EmailTemplate
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
body_html | string または null | 必須 | |
default_use_case | string または null | 必須 | |
deleted_at | string (date-time) または null | 必須 | |
email_template_group_id | string または null | 必須 | |
email_template_id | string | 必須 | |
is_default | boolean | 必須 | Whether the template holds a default use case. |
settings | object または null | 必須 | |
subject | string または null | 必須 | |
template_name | string または null | 必須 |