Update a text template by ID

PATCH
/text_templates/:text_template_id
Update custom content by ID

Path parameters

text_template_idstringRequired

UUID text_template ID

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired
The ID of the entity that owns the requested resource.

Request

This endpoint expects an object.
namestringOptional
templatestringOptional

Response

This endpoint returns an object.
idstring
created_atdatetime
updated_atdatetime
document_typeenum
is_defaultboolean
namestring
templatestring
typeenum
Allowed values: email_headeremail_bodymemo

Errors