Fork template (Cloud-only)

Forks a template version into a new template

Path parameters

projectstringRequired
The project slug
template_versionstringRequired

The template version, formatted as {template-name}:{version-number} or {template-name}:latest

Headers

AuthorizationstringRequired

Header authentication of the form Bearer <token>

Request

Body
namestringOptionalformat: "^[a-zA-Z0-9_-]+$"
Optional custom name for the forked template. If not provided, a random name will be generated.

Response

200
namestring
The exact name of the template
idstring
project_idstring
project_slugstring
latest_versionstring
The latest version of the template
template_deployment_slugstring
The full name of the template, including version and project slug
descriptionstring or null

Errors