---
title: "Delete doc group templates for a team"
method: DELETE
path: "/team/{team_id}/documentgroup/template/{doc_group_id}/share"
---

# Delete doc group templates for a team

`DELETE /team/{team_id}/documentgroup/template/{doc_group_id}/share`

## Request

- Base URL: `https://api.signnow.com`
- URL: `https://api.signnow.com/team/{team_id}/documentgroup/template/{doc_group_id}/share`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/signnow/apis/signnow-api/docs/team/:team_id/documentgroup/template/:doc_group_id/share/delete.ts> (a function with typed inputs; its response is checked against the schema)

> [!WARNING]
> This endpoint is deprecated. To remove a DGT from the team space, move it back to a personal folder using [`PATCH /v2/document-group-templates/{{doc_group_template_id}}/move`](/docs/document-group-template/operations/patch-v2-document-group-templates-doc-group-template-id-move).

This endpoint allows team user to delete their document group templates from team and team admins to delete any document group templates.

## Response `200`

- object

## Other responses

- `400`: * Document group template not found. * User is not in the team. * User doesn't own the document group template. * Team 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)
