Delete a dataset and its contents if not in use. - 404 if dataset does not exist for the organization - 409 if any dataset version is referenced by models (via model_datasets) - 204 on success (no content)
cURL
curl -X DELETE -H 'Authorization: Bearer $TOKEN' \ $API_BASE/v1/datasets/$DATASET_ID
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
JWT token from Stytch B2B authentication (magic link, SSO, or M2M)
Dataset ID
"dataset_abc123"
Dataset deleted
Was this page helpful?