Removes vectors from the index by their IDs. This operation permanently deletes the specified vectors and their associated data.Documentation Index
Fetch the complete documentation index at: https://docs.cyborg.co/llms.txt
Use this file to discover all available pages before exploring further.
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