Skip to content

Update an account-level template

Request

Update the description of an account-level template.

Security
basicAuth
Path
template_namestringrequired

The template name.

Bodymultipart/form-datarequired
descriptionstringrequired

Update description of the template being updated.

curl -i -X PUT \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v4/templates/{template_name}' \
  -H 'Content-Type: multipart/form-data' \
  -F description=string

Responses

A 200 response

Bodyapplication/json
messagestringrequired

Response message

templateobject(github.com-mailgun-temple-httpapi-templateUpdate)required

Template change details

Response
{ "message": "template has been updated", "template": { "name": "template_name" } }