Parameters
| Parameter | Type | Description |
|---|---|---|
ids | string[] | Array of vector IDs to delete from the index |
Exceptions
Error
Error
- 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.
Validation Errors
Validation Errors
- Throws if the
idsparameter is null, undefined, or empty. - Throws if any of the provided IDs are invalid format.
Returns
Promise<DeleteResponse>: A Promise that resolves to a response object containing the operation status, message, and count of deleted vectors. See the DeleteResponse type for more details.