Sign in

Update template

documented

Update a template.

PUT /v3/{domain_name}/templates/{template_name}Templatesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

note: Official Mailgun Templates Update API details can be found in the Mailgun docs. This command targets the US base URL and uses PUT /v3/{domain_name}/templates/{template_name} with a multipart/form-data body containing only the description field to update the template's description. See: Update template (PUT /v3/{domain_name}/templates/{template_name}) and related endpoint examples in Mailgun docs. ([documentation.mailgun.com](https://documentation.mailgun.com/docs/mailgun/api-reference/send/mailgun/templates/put-v3--domain-name--templates--template-name-))

npx -y keychains@latest curl "https://api.mailgun.net/v3/{{$domain_name}}/templates/{{$template_name}}" \
  -X PUT \
  -u "api:{{MAILGUN_API_KEY}}" \
  -H "Accept: application/json" \
  -H "Content-Type: multipart/form-data" \
  -F description="{{$description}}"
Update template · mailgun · OpenIntegrations