cURL
Interactive Example
curl --request POST \ --url https://api.trychroma.com/api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/delete \ --header 'Content-Type: application/json' \ --header 'x-chroma-token: <api-key>' \ --data '{ "where": "<unknown>", "where_document": "<unknown>", "ids": [ "<string>" ]}'
{}
Deletes records in a collection. Can filter by IDs or metadata.
Tenant UUID
Database name
Collection UUID
Payload for deleting records from a collection.
Records can be deleted by their IDs or by a metadata filter. At least one of ids or where must be provided.
ids
where
Records deleted successfully
The response is of type object.
object
Was this page helpful?