Datasets

Delete dataset items

Changed on

Delete dataset items using one of two modes:

  1. Delete by IDs: Provide 'item_ids' to delete specific items by their IDs
  2. 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.

post/v1/private/datasets/items/delete

Request

  • Base URL
    http://localhost:5173/api
  • URL
    http://localhost:5173/api/v1/private/datasets/items/delete
  • Auth
    none declared

Request body

item_idsstring[]

List of dataset item IDs to delete (max 1000). Use this to delete specific items by their IDs. Mutually exclusive with 'dataset_id' and 'filters'.

dataset_idstring uuid

Dataset ID to scope the deletion. Required when using 'filters'. Mutually exclusive with 'item_ids'.

batch_group_idstring uuid

Optional 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.

Response

No content

Changes

    • info

      added the new in enum value to the request property //

    • info

      added the new not_in enum value to the request property //

    • breaking

      removed the enum value in of the request property //

    • breaking

      removed the enum value not_in of the request property //