Delete Collection
DELETE/api/collections/:name
Delete a collection and all documents contained within it.
Request
Path Parameters
name Namerequired
The collection name.
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
name Namerequired
text_embedding_model Text Embedding Modelrequired
text_distance_metric object
{
"name": "string",
"text_embedding_model": "string",
"text_distance_metric": "cosine"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Messagerequired
type Error Typerequired
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...