Collections

Delete a collection

DEL
Drops the specified collection and all associated data in it.

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

This endpoint returns an object
time
doubleOptional
Time spent to process this request
status
stringOptional
result
booleanOptional
DEL
1curl -X DELETE http://localhost:6333/collections/collection_name \
2 -H "api-key: <apiKey>"
200Deleted
1{
2 "time": 1.1,
3 "status": "status",
4 "result": true
5}