---
title: "Delete template"
method: DELETE
path: "/templates/{template_id}?app_id={app_id}"
---

# Delete template

`DELETE /templates/{template_id}?app_id={app_id}`

Permanently delete a specific message template from your OneSignal app using its template ID. Templates used in Journeys must be removed from those Journeys before deletion.

## Path parameters

- `template_id` string, required

## Query parameters

- `app_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

200

- object
  - `success` boolean

## Other responses

- `400` — 400
- `404` — 404
- `429` — 429
- `503` — Service temporarily unavailable. Retry after a short backoff. The body may be empty or non-JSON in some failure modes.

---

[API](https://skmtc.net/onesignal/apis/api-onesignal-com.md) · [All operations](https://skmtc.net/onesignal/apis/api-onesignal-com/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onesignal/api-onesignal-com/versions/0fc223f7e338/schema)
