Snapshots

Delete a snapshot (collection)

DEL
Deletes the specified snapshot for a collection.

Path parameters

collection_namestringRequired
Name of the collection for which to delete a snapshot
snapshot_namestringRequired
Name of the snapshot to delete

Query parameters

waitbooleanOptional
If true, wait for changes to actually happen. If false - let changes happen in background. Default is true.

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/snapshots/snapshot_name \
2 -H "api-key: <apiKey>"
200Deleted
1{
2 "time": 1.1,
3 "status": "status",
4 "result": true
5}