Rename template (Cloud-only)

Renames all versions of a template with the specified name. Versions are automatically stripped from the current template name if accidentally included.

Path parameters

projectstringRequired
The project slug
template_namestringRequired

The current template name (version will be automatically stripped if included)

Headers

AuthorizationstringRequired

Header authentication of the form Bearer <token>

Request

Body
new_namestringRequiredformat: "^[a-zA-Z0-9_-]+$"
The new name for the template

Response

200
successboolean

Errors