Declaration Templates (Admin)

Clone Template

Clone a template (a system default or one of the company's own) into a NEW company-owned, editable copy. The original is left untouched.

Only HTML templates can be cloned — PDF form-fill templates (e.g. DUA) use a different mechanism and are out of scope.

Body (optional): name: str — name for the copy (defaults to "Cópia de {original}")

post/api/declaration-templates/{template_id}/clone

Path parameters

template_idinteger required

Headers

x-api-tokenstring nullable

Request body

object required

Response

Successful Response

{"stackTrail":"paths:/api/declaration-templates/{template_id}/clone:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.