templateCopyInput
Copy a Template with a new name, optionally to a different group.
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
templateId | ID! | Yes | — | Source template |
newTitle | String! | Yes | — | Title for the copy |
copyFields | Boolean! | No | true | Copy document fields |
groupId | ID! | Yes | — | Target group (use same group to copy in place) |
Example
mutation CopyTemplate {
copyTemplate(input: {
templateId: "dHBsLTE="
newTitle: "Contract v2"
copyFields: true
groupId: "Z3JwLTE="
})
}