# Update a document type Updates the trait definitions and/or description for one or more existing Kinds. Request: kinds - List of update payloads. Each includes: kind - Name of the Kind to update. traits - Replacement list of TraitDefinition objects. description - Optional new description. Response: kinds - List of kind names that were successfully updated. Endpoint: POST /api/v1/kind/update-kind Version: 3.0 Security: bearerAuth ## Request fields (application/json): - `kinds` (array) - `kinds.kind` (string) Rule data fields - `kinds.traits` (array) - `kinds.traits.type` (integer) Enum: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 - `kinds.traits.subType` (integer) Enum: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 - `kinds.traits.fetches` (string) Rule data fields - `kinds.traits.source` (string) Rule data fields - `kinds.description` (string) Rule data fields ## Response 200 fields (application/json): - `kinds` (array) ## Response 400 fields (application/json): - `message` (string) ## Response 401 fields (application/json): - `message` (string) ## Response 403 fields (application/json): - `message` (string) ## Response 404 fields (application/json): - `message` (string) ## Response 409 fields (application/json): - `message` (string) ## Response 429 fields (application/json): - `message` (string) ## Response 499 fields (application/json): - `message` (string) ## Response 500 fields (application/json): - `message` (string) ## Response 501 fields (application/json): - `message` (string) ## Response 503 fields (application/json): - `message` (string) ## Response 504 fields (application/json): - `message` (string)