Skip to main content
PUT
/
api
/
v2
/
tenants
/
{tenant}
/
databases
/
{database}
/
collections
/
{collection_id}
Updates an existing collection's name or metadata.
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": "<unknown>",
  "new_metadata": "<unknown>",
  "new_name": "<string>"
}
'
{}

Authorizations

x-chroma-token
string
header
required

Path Parameters

tenant
string
required

Tenant ID

database
string
required

Database name

collection_id
string
required

UUID of the collection to update

Body

application/json
new_configuration
object
new_metadata
object
new_name
string | null

Response

Collection updated successfully

The response is of type object.