cURL
curl --request DELETE \ --url https://api.tensorlake.ai/documents/v2/datasets/{dataset_id} \ --header 'Authorization: Bearer <token>'
{ "message": "<string>", "code": "QUOTA_EXCEEDED", "timestamp": 123, "trace_id": "<string>", "details": "<unknown>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The id of the dataset to delete
Dataset deleted successfully
Was this page helpful?