This action is irreversible. Proceed with caution.
Parameters
Parameter | Type | Description |
---|---|---|
ctx | context.Context | Context for cancellation and timeouts |
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 index does not exist
- May return error if the index is currently being accessed by other operations