Skip to main content
PUT
Change a template

Authorizations

Authorization
string
header
required

An API token. The "read" ability: GET routes only. "read + write": every route.

Headers

Idempotency-Key
string

Replay a write safely: the same key gives back the first answer for 24 hours (header Idempotent-Replay: true).

Maximum string length: 255

Path Parameters

template
string<uuid>
required

The template's identifier (uuid).

Body

application/json
name
string
editor
enum<string>
Available options:
blocks,
markdown,
html,
mjml
content
string | null
styles
string | null

Response

The template, changed.

data
object