v36

latestOpenAPI 3.1.0raw.githubusercontent.com2025-10-091882241.2 MB
templates

Set current template from snapshot (Cloud-only)

Updates the current working version of a template from a snapshot

put/v1/templates/{project_id}/{template_version}/snapshot

Path parameters

project_idstring required

The project id

template_versionstring required

The template name with :current version (e.g., my-template:current)

Request body

{"stackTrail":"paths:/v1/templates/{project_id}/{template_version}/snapshot:put:requestBody:content:application/json:schema","oasType":"schema","type":"unknown","description":"The template snapshot to set as the current version","nullable":true}

Response

200

successboolean required
messagestring