PATCH
cURL
Renames a template, changes its subject, or replaces its body with plain text or an editor document. Only the fields you send change.
Needs an API key with full access. Not available to a key limited to one domain.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

templateId
string
required
Minimum string length: 1
Example:

"clx1234567890"

Body

application/json
name
string
Required string length: 1 - 200
subject
string
Required string length: 1 - 500
body
string

Plain text. A blank line starts a new paragraph. {{firstName}} or {{firstName,fallback=there}} is filled in when sending. Give body or content.

Maximum string length: 100000
content
object

An email editor document (as GET returns it), for formatting body can't express. Give body or content.

Response

The updated template

id
string
required
name
string
required
subject
string
required
createdAt
string
required
updatedAt
string
required