Skip to main content
Removes vectors from the index by their IDs. This operation permanently deletes the specified vectors and their associated data.

Parameters

Error Handling

  • 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
  • Returns error if the IDs slice is empty
  • The operation succeeds even if some IDs don’t exist in the index

Example Usage