Create template version

Create a draft version by copying an existing version.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <API_KEY>, where API_KEY is your API key.

Path parameters

templateIdstringRequired
Template to version.

Request

This endpoint expects an object.
sourceVersionIdstringOptionalformat: "uuid"

The version to duplicate. May reference a published or an archived version of this template. Omit to duplicate the latest published version; required while the template has nothing published yet.

Response

The new draft version.
versionobject
The new draft, in full detail. Its content is a copy of the source version.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error