---
title: "Update Entity"
method: PATCH
path: "/api/v1/ontology/entities/{entity_id}"
tags: ["ontology-entities"]
---

# Update Entity

`PATCH /api/v1/ontology/entities/{entity_id}`

Update entity display_name or description.

## Path parameters

- `entity_id` string, uuid, required

## Request body

- EntityUpdate — Input for PATCH /ontology/entities/{id}.
  - `display_name` string, nullable
  - `description` string, nullable
  - `icon` string, nullable

## Response `200`

Successful Response

- DomainsOntologySchemasEntityRead — Full entity for GET endpoints.
  - `id` string, uuid, required
  - `company_id` string, uuid, required
  - `name` string, required
  - `display_name` string, required
  - `description` string, required
  - `database_id` string, uuid, required
  - `key_column` string, required
  - `record_count` integer, required
  - `status` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `properties` EntityPropertyRead[]
    - `id` string, uuid, required
    - `column_name` string, required
    - `display_name` string, required
    - `description` string, required
    - `data_type` string, required
    - `is_primary_key` boolean, required
    - `order` integer, required
    - `rules` FieldRules — Declared value rules for one entity field. Empty instance = no rules.
      - `allowed_values` string[], nullable
      - `required` boolean
      - `format` FieldFormat — Type-specific value constraints. All optional; only set what applies.
        - `min` number, nullable
        - `max` number, nullable
        - `regex` string, nullable
        - `max_length` integer, nullable
        - `date_min` string, nullable
        - `date_max` string, nullable
        - `allowed_mime` string[], nullable
        - `max_size_bytes` integer, nullable
    - `origin` string
    - `managed_default` unknown
    - `file_folder_id` string, uuid, nullable
  - `relationships` EntityRelationshipBrief[]
    - `id` string, uuid, required
    - `name` string, required
    - `target_entity_id` string, uuid, required
    - `target_entity_name` string, required
    - `target_entity_display_name` string, required
    - `relationship_type` string, required
    - `cardinality` string, required
  - `fed_by` FedByProject[]
    - `project_id` string, uuid, required
    - `project_name` string, required
  - `is_editable` boolean
  - `is_file_backed` boolean
  - `last_synced_at` string, date-time, nullable
  - `source_row_count` integer
  - `icon` string, nullable
  - `is_refreshing` boolean

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-28** `ef8b72834a51` — 2 warning, 1 info
  - removed the optional property `row_key_columns` from the response with the `200` status
  - removed the optional property `row_key_columns_applied_at` from the response with the `200` status
  - added the optional property `is_refreshing` to the response with the `200` status
- **2026-08-27** `419963dc27e8` — 2 info
  - added the optional property `row_key_columns` to the response with the `200` status
  - added the optional property `row_key_columns_applied_at` to the response with the `200` status

[Change history](https://skmtc.dev/netter/apis/dmi-backend/changes/api/v1/ontology/entities/:entity_id/patch.md)

---

[API](https://skmtc.dev/netter/apis/dmi-backend.md) · [All operations](https://skmtc.dev/netter/apis/dmi-backend/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/netter/dmi-backend/revisions/eed6fb164abd/schema)
