---
title: "Update the properties of a given Donor, Sample, Dataset or Upload"
method: PUT
path: "/entities/{id}"
---

# Update the properties of a given Donor, Sample, Dataset or Upload

`PUT /entities/{id}`

## Path parameters

- `id` string, required

## Request body

- object

## Response `200`

Message of the entity was successfully updated

- object

## Other responses

- `400` — Invalid or misformatted entity identifier
- `401` — The user's token has expired or the user did not supply a valid token
- `404` — The target entity could not be found
- `500` — Internal error

---

[API](https://skmtc.net/hubmapconsortium/apis/hubmap-entity-api.md) · [All operations](https://skmtc.net/hubmapconsortium/apis/hubmap-entity-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hubmapconsortium/hubmap-entity-api/versions/a192f35c6b16/schema)
