---
title: "Delete Custom Enum"
method: DELETE
path: "/custom-enums/{enum_id}"
tags: ["custom-enums"]
deprecated: true
---

# Delete Custom Enum

`DELETE /custom-enums/{enum_id}`

> **Deprecated.**

Reject the retired custom-enum deletion endpoint.

Args:
    enum_id: Identifier from the path; unused.

Raises:
    HTTPException: Always raised with 410 Gone.

## Path parameters

- `enum_id` string, required

## Other responses

- `410` — Custom enums are retired.
- `422` — Validation Error

## Changes

- **2026-09-24** `1cffaad2a921` — 1 breaking, 1 warning, 3 info
  - removed the success response with the status `200`
  - removed the optional property `detail` from the response with the `422` status
  - endpoint deprecated
  - added the non-success response with the status `410`
  - …1 more

[Change history](https://skmtc.dev/pioneer/apis/brain-api/changes/custom-enums/:enum_id/delete.md)

---

[API](https://skmtc.dev/pioneer/apis/brain-api.md) · [All operations](https://skmtc.dev/pioneer/apis/brain-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pioneer/apis/brain-api/revisions/1cffaad2a921?raw)
