Skip to main content
PATCH
Update Template

Headers

Authorization
string | null

Path Parameters

template_id
string<uuid>
required

Body

application/json

Request to update a template.

name
string | null
Required string length: 1 - 255
content
string | null
Required string length: 1 - 4000
category
string | null
is_active
boolean | null
media_type
string | null
media_url
string | null

Response

Successful Response

Full template response.

id
string<uuid>
required
name
string
required
category
string
required
content
string
required
variables
string[]
required
builtin_variables
string[]
required
custom_variables
string[]
required
is_active
boolean
required
times_used
integer
required
created_at
string
required
updated_at
string
required
media_type
string | null
media_url
string | null
last_used_at
string | null