Delete a collection
POST/ragtune/deleteCollection
Deletes an entire collection. If you need more fine-grained deletion controls (e.g., deleting specific records), use the /vectors
endpoint.
Request
- application/json
Body
required
collection string
collectionName string
deleteAll boolean
ids string[]
filter object
property name* any
Responses
- 200
- 400
- 500
Collection deleted successfully
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Collection or vectors deleted successfully"
}
Collection name missing from the request
Internal server error
Loading...