---
title: "Remove metadata schema"
method: DELETE
path: "/rest/api/index/custom-metadata/schema/{groupName}"
tags: ["Custom Metadata"]
---

# Remove metadata schema

`DELETE /rest/api/index/custom-metadata/schema/{groupName}`

Deletes the schema definition for a metadata group. This does not delete existing metadata values on documents.

## Response `200`

OK

- SuccessResponse — Success response for custom metadata operations
  - `success` boolean — Indicates if the operation was successful

## Other responses

- `400` — Bad Request
- `401` — Not Authorized
- `404` — Not Found
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/gleanwork/apis/glean-api-2.md) · [All operations](https://skmtc.net/gleanwork/apis/glean-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleanwork/glean-api-2/versions/c4ae998a3802/schema)
