Skip to main content
POST
/
collections
/
{collection_name}
/
points
/
payload
/
delete
Python
from actian_vectorai import VectorAIClient

with VectorAIClient("localhost:50051") as client:
    # Delete specific payload fields
    client.points.delete_payload(
        "my_collection",
        keys=["tags"],
        ids=[1, 2]
    )
    print("✓ Deleted 'tags' field from points 1, 2")
{
  "usage": {
    "hardware": null
  },
  "time": 0.009149702,
  "status": "ok",
  "result": {
    "operation_id": 0,
    "status": "Completed"
  }
}

Authorizations

Authorization
string
header
required

Admin JWT or access token for authenticating requests to VectorAI DB.

Path Parameters

collection_name
string
required

The name of the collection containing the target points.

Example:

"my_collection"

Body

application/json
keys
string[]
required

List of payload field names to remove.

Example:
["tags", "old_field"]
points
(integer | string)[]
required

List of point IDs to remove keys from.

Example:
[1, 2]

Response

Payload keys deleted

usage
object

Resource usage information for this request.

time
number<double>

Time spent to process this request, in seconds.

Example:

0.009149702

status
string

Operation status. Returns ok on success.

Example:

"ok"

result
object

Operation result containing the status of the payload key deletion.