Error code

Content type still has entries

The content type has entries on this ref, subtypes, or repeaters holding it as a component, so it cannot be deleted or made abstract.

Ø100 · 20 teethfree one way, locked the otherABC
Fig. 03 Ratchet and pawlThe wheel turns freely one way, and the pawl stops it turning back.
Code
TYPE_IN_USE
Management API
400

What to do

Delete or move what uses it first, or repeat the request with confirmDestructive=true, which orphans them.

The response

Every refusal is an application/problem+json document. Its detail says what went wrong in that request; its type is this page.

{
  "code": "TYPE_IN_USE",
  "type": "https://coho-cms.com/errors/type-in-use",
  "title": "Content type still has entries",
  "status": 400,
  "detail": "What went wrong in this request, in a sentence.",
  "instance": "/v1/projects/…"
}

Every code

The error codes, in a table with a filter.