---
title: "Move doc group template"
method: PATCH
path: "/v2/document-group-templates/{doc_group_template_id}/move"
---

# Move doc group template

`PATCH /v2/document-group-templates/{doc_group_template_id}/move`

## Request

- Base URL: `https://api.signnow.com`
- URL: `https://api.signnow.com/v2/document-group-templates/{doc_group_template_id}/move`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/signnow/apis/signnow-api/docs/v2/document-group-templates/:doc_group_template_id/move/patch.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint allows API users to move a document group template (DGT) between personal and team folders, including nested subfolders within the team hierarchy. It is the primary method for placing a DGT into the team space or removing it from the team space.

## Request body

- object
  - `folder_id` string, required: ID of the destination folder. Accepts any folder within the team hierarchy (including nested subfolders), a personal `Templates` folder or subfolder, or the `Trash` folder.
  - `with_templates` boolean: Whether to move active document groups that are based on the template.

## Response `204`

Success

- object

## Other responses

- `400`: * Authorization issues. * Incorrect payload. * Empty folder_id. * Incorrect folder_id value. * Incorrect with_templates property. * User doesn't own the document group template. * Shared document group templates cannot be moved. * User doesn't have access to folder. * Folders in Templates and Trash bin available only. * Document group template not found.

---

[API](https://skmtc.dev/signnow/apis/signnow-api.md) - [All operations](https://skmtc.dev/signnow/apis/signnow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/signnow/apis/signnow-api/revisions/1c9c30a6142b?raw)
