OriginChainDB
Database endpoints

Delete vectors in bulk

Delete up to 10,000 vectors and report which IDs were deleted or not found.

POST /v1/tenants/{tenant}/vector/{table}/delete-bulk

Remove a selected set of vectorsDuplicate input IDs count once in the outcome.
  1. Choose up to 10,000 IDsSelect the collection and index type.
  2. Delete the listed vectorsRemove only the specified vector identifiers.
  3. Compare deleted and missing countsAccount for duplicates when reconciling totals.

Before you start

Use your database bearer token.

Connection setup

Choose the collection, index type and vector IDs to remove. The example deletes only its listed IDs.

Path parameters

FieldTypeRequired
tenantstringRequired
tablestringRequired

Headers

FieldTypeRequiredDescription
x-oc-db-userstringOptionalActing database user (role, grant and row-policy checks). Send with x-oc-db-key.
x-oc-db-keystringOptionalAPI key of the x-oc-db-user user.

Request body

application/json

Limits and accepted values
  • ids: at most 10,000, each non-empty and at most 1024 bytes;
  • duplicates count once.
  • index: hnsw (default) | ivf | ivf_pq.
  • repair (HNSW only, default false) runs one graph-repair sweep after the batch.
FieldTypeRequired
idsstring[]Required
Fields in ids
FieldTypeRequired
idsstringOptional
FieldTypeRequired
indexstringOptional
repairbooleanOptional

Read the result

deleted_count and missing_count distinguish removed vectors from absent IDs. Duplicate input IDs count once, so totals need not equal the length of an input list containing duplicates.

Response statuses

HTTP status reference
StatusWhat to do
200OK
400Correct the request before retrying.
401Check the credential and Authorization header.
402Check feature access or available credits.
403Check tenant access, roles and permissions.
409Resolve the conflict before retrying.
413Split or reduce the request body.
415Send the required Content-Type.
422Correct the values or unsupported combination.
429Honor Retry-After when present; back off.
503Honor Retry-After when present; check write outcomes.
ยฉ 2026 Silicoyn Technologies Pvt Ltd