Email Templates

Update an email template

Updates one or more fields of the specified email template and returns the updated template.

patch/email_templates/{id}

Path parameters

idstring uuid required

Email template UUID.

Request body

html_bodystring nullable

Liquid template HTML body.

namestring
subjectstring nullable

Liquid template subject.

text_bodystring nullable

Liquid template text body.

variablesstring[]

Response

Template updated.

Changes

Changed in 4 of the 61 revisions of this API.1124

  • 2fb3b617430a63See the full diff
    • added the new recipient_suppressed enum value to the errors/items/code response property for the response status 401

      response-property-enum-value-added

    • added the new recipient_suppressed enum value to the errors/items/code response property for the response status 404

      response-property-enum-value-added

    • added the new recipient_suppressed enum value to the errors/items/code response property for the response status 422

      response-property-enum-value-added

    • added the new reputation_suspended enum value to the errors/items/code response property for the response status 401

      response-property-enum-value-added

    • added the new reputation_suspended enum value to the errors/items/code response property for the response status 404

      response-property-enum-value-added

    • added the new reputation_suspended enum value to the errors/items/code response property for the response status 422

      response-property-enum-value-added

    • added the optional property suppressed to the response with the 401 status

      response-optional-property-added

    • added the optional property suppressed to the response with the 404 status

      response-optional-property-added

    • added the optional property suppressed to the response with the 422 status

      response-optional-property-added

    • added the new 10027 enum value to the errors/items/code response property for the response status 401

      response-property-enum-value-added

    • added the new 10027 enum value to the errors/items/code response property for the response status 404

      response-property-enum-value-added

    • added the new 10027 enum value to the errors/items/code response property for the response status 422

      response-property-enum-value-added

    • added the new 10036 enum value to the errors/items/code response property for the response status 401

      response-property-enum-value-added

    • added the new 10036 enum value to the errors/items/code response property for the response status 404

      response-property-enum-value-added

    • added the new 10036 enum value to the errors/items/code response property for the response status 422

      response-property-enum-value-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 111 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog