Skip to main content
PATCH
Update a template

Authorizations

Authorization
string
header
required

Use a project private API key via Authorization: Bearer <key>.

Path Parameters

id
string
required

The ID of the template to update

Body

application/json
slug
string
mode
enum<string>
Available options:
text,
openai

Response

Successful response

id
string
name
string
slug
string
mode
enum<string>
Available options:
text,
openai
createdAt
string<date-time>
group
string
projectId
string
versions
object[]