---
title: "Update an existing entity"
method: PUT
path: "/api/v1/entities/{templateIdentifier}/{entityIdentifier}"
tags: ["Entities Management"]
---

# Update an existing entity

`PUT /api/v1/entities/{templateIdentifier}/{entityIdentifier}`

Update an existing entity in the system with the provided information

## Path parameters

- `templateIdentifier` string, required
- `entityIdentifier` string, required

## Request body

- EntityUpdateDtoIn — Input DTO for updating an entity
  - `name` string, required — Name of the entity
  - `properties` object — Map of property name to value for this entity
  - `relations` RelationDtoIn[] — List of relations for this entity
    - `name` string, required — Name of the relation (must match a template relation definition)
    - `target_entity_identifiers` string[], required — List of target entity identifiers for this relation

## Response `200`

Entity updated successfully

## Other responses

- `400` — Invalid entity data provided
- `401` — Unauthorized - Missing or invalid token
- `403` — Insufficient rights
- `404` — Entity not found with the provided identifier
- `500` — Unexpected server-side failure

---

[API](https://skmtc.net/decathlon/apis/idp-core-api.md) · [All operations](https://skmtc.net/decathlon/apis/idp-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/decathlon/idp-core-api/versions/7e634c43bc1b/schema)
