Tool
mail_template_update
Update a draft template (published templates are not editable)
Update a draft template (published templates are not editable)
Behavior
- HTTP
PATCH /mail/templates/:id
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | • | Template id |
| html | string | — | No description in the catalog. |
| name | string | — | No description in the catalog. |
| text | string | — | No description in the catalog. |
| subject | string | — | No description in the catalog. |
| variables | array | — | No description in the catalog. |
Response
| Field | Type | Always | Description |
|---|---|---|---|
| id | string | • | |
| html | string | • | |
| name | string | • | |
| text | string | • | |
| status | string | • | |
| subject | string | • | |
| createdAt | string | • | |
| updatedAt | string | • | |
| variables | array | • |
Try it
Update a draft template (published templates are not editable).