Templates

Update a template version

PATCH
/v1/template-versions/
id
curl --request PATCH \
  --url https://api.lunary.ai/v1/template-versions/{id} \
  --header 'Authorization: Bearer <api_key>' \
  --header 'Content-Type: application/json' \
  --data '{}'

Parameters

NameLocated InRequiredSchema
idpathYesstring

Request Body

PropertyTypeDescription
contentarray,string
extraobject
testValuesobject
isDraftboolean
notesstring

Responses

200

Updated template version

PropertyTypeDescription
idstring
templateIdstring
contentarray
extraobject
testValuesobject
isDraftboolean
notesstring
createdAtstring
versionnumber

401

Unauthorized access

Questions? We're here to help.

Email