---
title: "Delete multiple alert template"
method: DELETE
path: "/api/{org_id}/alerts/templates/bulk"
tags: ["Templates"]
---

# Delete multiple alert template

`DELETE /api/{org_id}/alerts/templates/bulk`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/alerts/templates/bulk`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/alerts/templates/bulk/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes multiple alert notification template from the organization. The templates must not be in use by any active destinations before deletion. Once deleted, any destinations previously using these templates will need to be updated with alternative templates to continue formatting notifications properly.

## Path parameters

- `org_id` string, required

## Request body

- BulkDeleteRequest
  - `ids` string[], required

## Response `200`

Success

- BulkDeleteResponse
  - `err` string, nullable
  - `successful` string[], required
  - `unsuccessful` string[], required

## Other responses

- `500`: Failure

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
