Parameters
Parameter | Type | Description |
---|---|---|
ctx | context.Context | Context for cancellation and timeouts |
ids | []string | Slice of vector IDs to delete |
Error Handling
API Errors
API Errors
- Returns error if the API request fails due to network connectivity issues
- Returns error if authentication fails (invalid API key)
- Returns error if the encryption key is invalid for the specified index
- Returns error if there are internal server errors during deletion
Validation Errors
Validation Errors
- Returns error if the IDs slice is empty
- The operation succeeds even if some IDs don’t exist in the index