Skip to main content
Deletes vectors from the encrypted index by their IDs.

Parameters

Returns

Promise<SuccessResponseModel>: A Promise that resolves to a success response object containing the operation status and message with the count of deleted vectors.

Exceptions

  • Throws if the API request fails due to network connectivity issues.
  • Throws if authentication fails (invalid API key).
  • Throws if the encryption key is invalid for the specified index.
  • Throws if there are internal server errors preventing the deletion.
  • Throws if the ids parameter is null, undefined, or empty.
  • Throws if any of the provided IDs are invalid format.

Example Usage

Response Format

The method returns a success response object with the following structure: