Error code

Types still take the trait

Content types still take this trait, so it cannot be deleted.

Ø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
TRAIT_IN_USE
Management API
400

What to do

Remove the trait from those types first.

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": "TRAIT_IN_USE",
  "type": "https://coho-cms.com/errors/trait-in-use",
  "title": "Types still take the trait",
  "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.