POST
/v1/templates/{id}/duplicateDuplicate a template
Scope
templates.writeIdempotent with a keyPath parameters
idstringrequiredHeaders
Idempotency-Keystringmax length 255Up to 255 characters, scoped to the organisation and the endpoint, kept for 24 hours: a repeat with the same body replays the stored response with Idempotent-Replayed: true (API-004).
Body
namestringmin length 1max length 160productSpecificationIdstringmin length 1folderIdstring or nullReturns
11 fields of the 201 answer
idstringrequirednamestringrequiredfolderIdstring or nullrequiredproductIdstringrequiredproductSpecificationIdstringrequireddraftobjectrequired3 fields
revisionintegerrequiredupdatedAtdate-timerequiredupdatedByIdstring or nullrequiredlatestVersionobject or nullrequired6 fields
idstringrequirednumberintegerrequiredpublishedAtdate-timerequiredpublishedByTypeenumrequiredUSERAPI_KEYpublishedByIdstringrequiredstaticLayerStatusenumrequiredPENDINGREADYFAILEDarchivedAtdate-time or nullrequiredcreatedAtdate-timerequiredupdatedAtdate-timerequiredwarningsarray of stringrequiredResponses
201Success
401Authentication required or API key invalid
403Permission or scope missing, organisation suspended
404Not found
409A request with this Idempotency-Key is still in progress (idempotency_in_progress)
422Validation failed
429Rate limited for this API key and class; wait Retry-After seconds
otherError (RFC 9457 problem details)