delete http://localhost:9100/api/versioned/v1/datasets//records
You use this endpoint to truncate a specified dataset. Truncation results in the dataset having no apparent data. However, previously loaded data is not deleted, and as a result, no disk space is saved.
Some datasets cannot be truncated, in which case you receive a 500 error.
If the request is successful, returns no content in the response body.