Release Collection
POST
http://${MILVUS_URI}/v2/vectordb/collections/release
This operation releases the data of the current collection from memory.
Example
export MILVUS_URI="localhost:19530"
curl --location --request POST "http://${MILVUS_URI}/v2/vectordb/collections/release" \
--header "Content-Type: application/json" \
--data-raw '{
"collectionName": "quick_setup"
}'
Possible response is similar to the following:
{
"code": 0,
"data": {}
}
Request
Parameters
Header parameters
Parameter Description Request-Timeout
integer
The timeout duration for this operation. Setting this to None indicates that this operation times out when any response returns or an error occurs.Authorization
string
The authentication tokenNo query parameters required
No path parameters required
Request Body
{
"dbName": "string",
"collectionName": "string"
}
Parameter | Description |
---|---|
dbName | string The name of the database to which the cpllection belongs. Setting this to a non-existing database results in a MilvusException. |
collectionName * | string The name of the target colletion. Setting this to a non-existing collection results in a MilvusException. |
Response
None
Response Bodies
- Response body if we process your request successfully
{}
- Response body if we failed to process your request
{
"code": integer,
"message": string
}
Properties
The properties in the returned response are listed in the following table.
Property | Description |
---|---|
code | integer Indicates whether the request succeeds.
|
message | string Indicates the possible reason for the reported error. |