Search + K

Command Palette

Search for a command to run...

Sign In

Delete Vectors By Identifier (Deprecated)

Deprecated
POST /accounts/{account_id}/vectorize/indexes/{index_name}/delete-by-ids
Copy endpoint
https://api.cloudflare.com/client/v4

Delete a set of vectors from an index by their vector identifiers.

Parameters

path Path Parameters

Name Type
account_id required
type VectorizeIdentifier = string
index_name required
type VectorizeIndexName = string

Request Body

application/json required
interface VectorizeIndexDeleteVectorsByIdRequest {
ids?: VectorizeVectorIdentifier

Identifier for a Vector

type VectorizeVectorIdentifier = string
[]
;
}

Responses

200 application/json

Delete Vector Identifiers Response

type VectorizeApiResponseSingle = never & { result?: VectorizeIndexDeleteVectorsByIdResponse
interface VectorizeIndexDeleteVectorsByIdResponse {
count?: number;
ids?: VectorizeVectorIdentifier[];
}
; }

Client Errors

4XX application/json

Delete Vector Identifiers Failure Response

type VectorizeApiResponseSingle = never & { result?: {} | null; } & interface VectorizeApiResponseCommonFailure {
errors: VectorizeMessages
type VectorizeMessages = { code: number;message: string; }[]
;
messages: VectorizeMessages
type VectorizeMessages = { code: number;message: string; }[]
;
result: null;
success: false;
}