put--v3-domain_name-templates-template_name-versions-version_nam
Update a specific version of an email template in Mailgun by modifying its content, headers, or activation status for improved email delivery management.
Instructions
Update a version
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain_name": "<domain_name>",
"template_name": "<template_name>",
"version_name": "<version_name>"
},
"name": "put--v3-domain_name-templates-template_name-versions-version_nam"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain_name | Yes | ||
| template_name | Yes | ||
| version_name | Yes | ||
| template | No | Content of the template. | |
| comment | No | Comment related to the version that is being created. | |
| active | No | If this flag is set to yes, this version becomes active | |
| headers | No | Key value JSON object of headers to be stored with the template. Where key is the header name and value is the header value. The header names `From`, `Subject`, and `Reply-To` are the only ones currently supported. These headers will be inserted into the MIME at the time we attempt delivery. |