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."
}Documentation Index
Fetch the complete documentation index at: https://docs.narrative.io/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?