---
title: "Delete Account Template"
method: DELETE
path: "/accounts/{accountId}/templates/{templateId}"
tags: ["Account"]
---

# Delete Account Template

`DELETE /accounts/{accountId}/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/accounts/{accountId}/templates/{templateId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/ministrybytext/apis/pbt-api-documentation/docs/accounts/:accountId/templates/:templateId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Permanently deletes a specific account-level message template. Once removed, this template will no longer be available to send message. It will no longer be added to newly created orgunit and groups.

## Path parameters

- `accountId` 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)
