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."
}Truncates a dataset.
Removes all rows from the dataset but leaves the dataset intact.
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."
}