Datasets

Delete a dataset

Deletes a dataset: every S3 object under its prefix, its DynamoDB record, and its entry in the team's datasets map. Not reversible.

Added 2026-07-21. The same purge remains available as POST /dataset/{dataset_id}/mutation with {"mutation": "delete"}, which is how deletion worked before this route existed — an overload that made a destructive action look like a data append. Prefer DELETE.

Workflows referencing the dataset are not updated and will fail on their next run.

delete/dataset/{dataset_id}

Request

  • Base URL: https://api.indexone.io
  • URL: https://api.indexone.io/dataset/{dataset_id}
  • Auth: API key in header x-api-key and API key in header Authorization

Path parameters

dataset_idstring required

Dataset id.

Response

Intended response: the deletion summary (same shape the delete mutation returns today).

dataset_idstring
s3_deletedinteger
record_deletedboolean
reference_removedboolean

Changes

No recorded changes to this operation across all 1 revision of this API.