Actions7
Delete Vectors
AI-generatedSummary
Delete specified vectors by their keys from an Alibaba Cloud OSS vector index.
Inputs
- Index Name (required) — Specify the exact OSS vector index name from which the vectors will be deleted.
- Keys to Delete (required) — Provide the vector keys to delete, either as an expression that returns a string array or as a comma-separated list of keys.
Output shape
A list of JSON objects for each input item indicating success status, the index name, and the keys that were deleted.
Deletes vectors in batches of 100 keys to comply with API limits, with small pauses between batches to manage request rate. If multiple input items are provided, each is processed separately with a corresponding success object in the output array.
Examples
Example 1: Delete multiple vectors by keys from the index 'my_vector_index'.
Set 'Index Name' to 'my_vector_index'. Provide the 'Keys to Delete' as an expression returning an array, e.g., '={{ $json.keys }}', where '$json.keys' is an array of vector identifiers to delete.