---
title: "Update an entity collection"
method: PATCH
path: "/entity-collections/{entity_collection_id}"
tags: ["entityCollections"]
---

# Update an entity collection

`PATCH /entity-collections/{entity_collection_id}`

This method updates the specified entity collection.

## Path parameters

- `entity_collection_id` string, required

## Headers

- `x-api-key` string, required

## Request body

- object
  - `name` string — The updated name of the entity collection.
  - `description` string — The updated description of the entity collection.

## Response `200`

The entity collection has been successfully updated.

- EntityCollection — An object that represents a collection of related entities.
  - `_id` string — The unique identifier of the entity collection.
  - `name` string — The name of the entity collection.
  - `description` string — The description of the entity collection.
  - `created_at` string, date-time — The date and time, in RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), when the entity collection was created.
  - `updated_at` string, date-time — The date and time, in RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), when the entity collection was last updated.

## Other responses

- `400` — The request has failed.

---

[API](https://skmtc.net/twelvelabs/apis/twelvelabs-api.md) · [All operations](https://skmtc.net/twelvelabs/apis/twelvelabs-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/twelvelabs/twelvelabs-api/revisions/b6d766c2c340/schema)
