from actian_vectorai_client import VectorAIClient
with VectorAIClient("localhost:6574") as client:
# Delete specific points by ID
result = client.points.delete_by_ids("my_collection", ids=[100, 101, 102])
print(f"✓ Deleted points"){
"usage": {
"hardware": null
},
"time": 0.000119036,
"status": "ok",
"result": {
"operation_id": 0,
"status": "Completed"
}
}{
"status": {
"error": "Collection `my_collection` doesn't exist!"
},
"time": 123
}Points
Delete points
Delete points from a collection by specifying a list of point IDs.
POST
/
collections
/
{collection_name}
/
points
/
delete
from actian_vectorai_client import VectorAIClient
with VectorAIClient("localhost:6574") as client:
# Delete specific points by ID
result = client.points.delete_by_ids("my_collection", ids=[100, 101, 102])
print(f"✓ Deleted points"){
"usage": {
"hardware": null
},
"time": 0.000119036,
"status": "ok",
"result": {
"operation_id": 0,
"status": "Completed"
}
}{
"status": {
"error": "Collection `my_collection` doesn't exist!"
},
"time": 123
}Authorizations
Admin JWT or access token for authenticating requests to VectorAI DB.
Path Parameters
The name of the collection to delete points from.
Body
application/json
List of point IDs to delete.
Example:
[1, 2, 3]
Response
Points deleted
Resource usage information for this request.
Show child attributes
Show child attributes
Time spent to process this request, in seconds.
Example:
0.000119036
Operation status. Returns ok on success.
Example:
"ok"
Operation result containing the status of the deletion.
Show child attributes
Show child attributes