POST
/v1/templates/{id}/move-versionMove a template to its product's newest version
A new draft on the newest published version: the old base elements make way for the new base, the own design and variables stay. Published versions are unchanged; Postflows on the latest version follow once the draft is published (DEC-0205).
Scope
templates.writePath parameters
idstringrequiredReturns
14 fields of the 200 answer
idstringrequirednamestringrequiredfolderIdstring or nullrequiredproductIdstringrequiredproductSpecificationIdstringrequireddraftobjectrequired3 fields
revisionintegerrequiredupdatedAtdate-timerequiredupdatedByIdstring or nullrequiredsampleValuesobjectrequirednewerVersionobject or nullrequired2 fields
specificationIdstringrequiredversionintegerrequiredchannelsarray of enumrequiredPOSTFLOWPOSTBATCHlatestVersionobject or nullrequired6 fields
idstringrequirednumberintegerrequiredpublishedAtdate-timerequiredpublishedByTypeenumrequiredUSERAPI_KEYMCP_CONNECTIONpublishedByIdstringrequiredstaticLayerStatusenumrequiredPENDINGREADYFAILEDarchivedAtdate-time or nullrequiredcreatedAtdate-timerequiredupdatedAtdate-timerequiredwarningsarray of stringrequiredResponses
200Success
401Authentication required or API key invalid
403Permission or scope missing, organisation suspended
404Not found
422Already on the newest version (already_newest)
429Rate limited for this API key and class; wait Retry-After seconds
otherError (RFC 9457 problem details)