---
title: "Remove metadata template"
method: DELETE
path: "/metadata_templates/{scope}/{template_key}/schema"
tags: ["Metadata templates"]
---

# Remove metadata template

`DELETE /metadata_templates/{scope}/{template_key}/schema`

Delete a metadata template and its instances.
This deletion is permanent and can not be reversed.

## Path parameters

- `scope` 'global' | 'enterprise', required
- `template_key` string, required

## Response `204`

Returns an empty response when the metadata
template is successfully deleted.

## Other responses

- `400` — Request body does not contain a valid metadata schema.
- `403` — Request body contains a scope that the user is not allowed to create a template for.
- `default` — An unexpected client error.

---

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