For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
CloudGitHub
  • API Reference
      • GETGet collection details
      • PUTCreate a collection
      • DELDelete a collection
      • PATCHUpdate collection parameters
      • GETList all collections
      • GETCheck collection existence
LogoLogo
CloudGitHub
API ReferenceCollections

Delete a collection

DELETE
/collections/:collection_name
DELETE
/collections/:collection_name
$curl -X DELETE \
> 'http://localhost:6333/collections/collection_name' \
> --header 'api-key: <api-key-value>'
200Deleted
1{
2 "usage": {
3 "cpu": 1,
4 "io_read": 1,
5 "io_write": 1
6 },
7 "time": 0.002,
8 "status": "ok",
9 "result": true
10}
Drops the specified collection and all associated data in it.
Was this page helpful?
Previous

Update collection parameters

Next
Built with

Authentication

api-keystring
API Key authentication via header

Path parameters

collection_namestringRequired
Name of the collection to delete

Query parameters

timeoutintegerOptional

Wait for operation commit timeout in seconds. If timeout is reached - request will return with service error.

Response

successful operation
usageobject or any
timedouble
Time spent to process this request
statusstring
resultboolean