---
title: "Delete Group Template"
method: DELETE
path: "/orgunit/{orgunitId}/groups/{groupId}/templates/{templateId}"
tags: ["Group"]
---

# Delete Group Template

`DELETE /orgunit/{orgunitId}/groups/{groupId}/templates/{templateId}`

## Request

- Base URL: `https://api-docs.ministrybytext.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.ministrybytext.com/orgunit/{orgunitId}/groups/{groupId}/templates/{templateId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/ministrybytext/apis/pbt-api-documentation/docs/orgunit/:orgunitId/groups/:groupId/templates/:templateId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Permanently deletes a specific group-level message template. Once removed, this template will no longer be available to send message.

## Path parameters

- `orgunitId` string, required
- `groupId` string, required
- `templateId` string, required

## Response `200`

Success

- ExternalApiResponseNew
  - `appCode` string
  - `message` string
  - `isError` boolean

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/ministrybytext/apis/pbt-api-documentation.md) - [All operations](https://skmtc.dev/ministrybytext/apis/pbt-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/ministrybytext/apis/pbt-api-documentation/revisions/7d64a1f0b0c3?raw)
