---
title: "Admin Delete Template"
method: DELETE
path: "/v1/admin/metric-template/{template_id}"
tags: ["Custom Metric Templates"]
---

# Admin Delete Template

`DELETE /v1/admin/metric-template/{template_id}`

Delete a template. FK pointers on metrics are set null by the DB.

## Path parameters

- `template_id` string, uuid, required

## Headers

- `X-Admin-Secret` string, nullable
- `X-API-Key` string, required

## Response `200`

Successful Response

- DeleteTemplateResponse
  - `message` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/getbluejay/apis/bluejay-api.md) · [All operations](https://skmtc.net/getbluejay/apis/bluejay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbluejay/bluejay-api/revisions/4ef94eeb836d/schema)
