Skip to main content
DELETE
/
v1
/
datasets
/
entries
Delete Dataset Entries
curl --request DELETE \
  --url https://api.getmaxim.ai/v1/datasets/entries \
  --header 'Content-Type: application/json' \
  --header 'x-maxim-api-key: <api-key>' \
  --data '{
  "workspaceId": "<string>",
  "datasetId": "<string>",
  "splitId": "<string>",
  "deleteAll": true,
  "columnIds": [
    "<string>"
  ],
  "entries": [
    {
      "rowNo": 123,
      "entryId": "<string>",
      "cells": [
        {
          "columnId": "<string>"
        }
      ]
    }
  ]
}'

Authorizations

x-maxim-api-key
string
header
required

API key for authentication

Body

application/json
workspaceId
string
required

Unique identifier for the workspace

datasetId
string
required

Unique identifier for the dataset

splitId
string

Unique identifier for the split

deleteAll
boolean

Delete all entries from the dataset

columnIds
string[]

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

Minimum length: 1
entries
object[]

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

Minimum length: 1

Response

Dataset entries deleted successfully

I