/v1/private/datasets/items/deleteDelete dataset itemsDelete dataset items using one of two modes:
- Delete by IDs: Provide 'item_ids' to delete specific items by their IDs
- Delete by filters: Provide 'dataset_id' with optional 'filters' to delete items matching criteria
When using filters, an empty 'filters' array will delete all items in the specified dataset.
Request body
application/json
Request to delete multiple dataset items
batch_group_idstring · uuidOptional batch group ID to group multiple delete operations into a single dataset version. If null, mutates the latest version instead of creating a new one.
dataset_idstring · uuidDataset ID to scope the deletion. Required when using 'filters'. Mutually exclusive with 'item_ids'.
filtersarray of objectFilters to select dataset items to delete within the specified dataset. Must be used with 'dataset_id'. Mutually exclusive with 'item_ids'. Empty array means 'delete all items in the dataset'.
Show child attributes
Show array items
Filters to select dataset items to delete within the specified dataset. Must be used with 'dataset_id'. Mutually exclusive with 'item_ids'. Empty array means 'delete all items in the dataset'.
fieldstringkeystringoperatorstringvaluestringitem_idsarray of string · uuidList of dataset item IDs to delete (max 1000). Use this to delete specific items by their IDs. Mutually exclusive with 'dataset_id' and 'filters'.
Show child attributes
{
"batch_group_id": "00000000-0000-0000-0000-000000000000",
"dataset_id": "00000000-0000-0000-0000-000000000000",
"filters": [
{
"field": "string",
"key": "string",
"operator": "!=",
"value": "string"
}
],
"item_ids": [
"00000000-0000-0000-0000-000000000000"
]
}