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" } '
{}
Updates an existing collection’s name or metadata.
Tenant UUID
Database name
Collection UUID
Collection update payload
Show child attributes
Collection updated successfully
The response is of type object.
object
Was this page helpful?