Skip to main content
PUT
/
api
/
v2
/
tenants
/
{tenant}
/
databases
/
{database}
/
collections
/
{collection_id}
cURL
curl --request PUT \
  --url https://api.trychroma.com/api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id} \
  --header 'Content-Type: application/json' \
  --header 'x-chroma-token: <api-key>' \
  --data '
{
  "new_configuration": null,
  "new_metadata": {
    "key": "value"
  },
  "new_name": "updated_collection_name"
}
'
{}

Authorizations

x-chroma-token
string
header
required

Path Parameters

tenant
string
required

Tenant UUID

database
string
required

Database name

collection_id
string
required

Collection UUID

Body

application/json

Collection update payload

new_configuration
object
new_metadata
object
new_name
string | null

Response

Collection updated successfully

The response is of type object.