Non-destructive delete of a dataset
curl --request DELETE \
--url https://{tenant}-api.mathfi.ai/api/v1/datasets/{datasetKey} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{tenant}-api.mathfi.ai/api/v1/datasets/{datasetKey}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)Datasets
Non-destructive delete of a dataset
A non-destructive delete.
- Nothing is destroyed. The dataset’s files, the models trained from it and their predictions all remain, and anything running against them keeps working.
204means the request was accepted, not that the dataset is gone. A later read or listing may still return it.404for a dataset that does not exist.- Safe to retry; nothing is ever lost by calling it.
DELETE
/
api
/
v1
/
datasets
/
{datasetKey}
Non-destructive delete of a dataset
curl --request DELETE \
--url https://{tenant}-api.mathfi.ai/api/v1/datasets/{datasetKey} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{tenant}-api.mathfi.ai/api/v1/datasets/{datasetKey}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Pattern:
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[4][0-9a-fA-F]{3}-[89aAbB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$Response
Accepted. Nothing was destroyed.