Maxim Logo
Datasets/Entries

Delete Dataset Entries

Delete dataset entries

DELETE
/v1/datasets/entries

Authorization

x-maxim-api-key<token>

API key for authentication

In: header

Request Body

application/jsonOptional
workspaceIdRequiredstring

Unique identifier for the workspace

datasetIdRequiredstring

Unique identifier for the dataset

splitIdstring

Unique identifier for the split

deleteAllboolean

Delete all entries from the dataset

columnIdsarray<string>

Unique identifiers for the columns to delete. All entries from this column will be deleted.

entriesarray<object>

Unique identifiers for the entries to delete. All entries from this entry will be deleted.

curl -X DELETE "https://api.getmaxim.ai/v1/datasets/entries" \
  -H "x-maxim-api-key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "workspaceId": "string",
    "datasetId": "string",
    "splitId": "string",
    "deleteAll": true,
    "columnIds": [
      "string"
    ],
    "entries": [
      {
        "rowNo": 0,
        "entryId": "string",
        "cells": [
          {
            "columnId": "string"
          }
        ]
      }
    ]
  }'

Dataset entries deleted successfully