Skip to main content
POST
/
datasets
/
{dataset_id}
/
truncate
Truncate a dataset
curl --request POST \
  --url https://api-dev.narrative.io/datasets/{dataset_id}/truncate \
  --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.

Path Parameters

dataset_id
integer
required

Unique identifier for a dataset.

Response

OK