# DESTRUCTIVE_SCHEMA_CHANGE: Destructive schema change

> The change could break entries that exist: removing a field, adding a required one or making one required, or turning off localization, while the type, its subtypes, or the types holding it as a component have entries.

Sent by the management API (400). The page: https://coho-cms.com/errors/destructive-schema-change/

## What to do

To remove a field, set `omitted: true` first and remove it later. Otherwise send the change again with `confirmDestructive: true`.

## The response

```json
{
  "code": "DESTRUCTIVE_SCHEMA_CHANGE",
  "type": "https://coho-cms.com/errors/destructive-schema-change",
  "title": "Destructive schema change",
  "status": 400,
  "detail": "What went wrong in this request, in a sentence.",
  "instance": "/v1/projects/…"
}
```

Every error code: https://coho-cms.com/errors/
