Skip to main content
DELETE
/
datasets
/
{dataset_id}
Delete a dataset
curl --request DELETE \
  --url https://api-dev.narrative.io/datasets/{dataset_id} \
  --header 'Authorization: Bearer <token>'
{
  "error": "Unauthorized",
  "error_description": "You are not authorized to use this endpoint."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Narrative-Retention-Days
string

A number of days between 1 and 30. Defaults to 30.

Path Parameters

dataset_id
integer
required

Unique identifier for a dataset.

Response

OK