Update the specified template definition.

PATCH {{baseUrl}}/templates/:id

The new template definition file provided with the request, overrides the previous definition file.
The maximum size of the email template is limited to 8 MB. However, the email message resulting from the Email template along with its attachments is limited by the email size limit; i.e. 8 MB.
In case of SMS, the sms message resulting from the template is limited to maximum size of SMS notification; i.e. 1500 bytes.

Request Body

[{"name"=>"metadata", "value"=>"<json>", "datatype"=>"string"}, {"name"=>"templateFile", "value"=>nil, "datatype"=>"null"}]

HEADERS

KeyDatatypeRequiredDescription
If-Matchstring
Content-Typestring
Acceptstring

RESPONSES

status: OK

&quot;&quot;