POST/templates/{id}/duplicate

Duplicate a template

Creates a duplicate of a template selected by its ID or alias. Use this operation when you want a separate template based on an existing one.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 parameter
idstringrequired
The template ID or alias to duplicate.

1 status code
200Returns the duplicated template's identifier and the response object type.
idstringoptional
The ID of the duplicated template.
objectstringoptional
The object type of the response.

Error handling

The id path parameter must identify an existing template by ID or alias.