Delete dataset
Endpoint: DELETE /datasets/{dataset_id}
Description
Deletes a custom dataset. You own it, or it is org-only (no individual user owner) and you are an organization administrator in that dataset's organization.
Parameters
- Path:
dataset_id— integer.
Error responses
401— Authentication failed.403— Not allowed to delete (for example: not the owner, or org-only dataset without org-admin role).404— Dataset not found.400— Database constraint or integrity error.500— Server error.
Responses
204— No response body.
curl
curl -o /dev/null -w "%{http_code}\n" -X DELETE \
"https://api.aegisevals.ai/api/v1/datasets/3" \
-H "Authorization: Bearer sk_00000000000000000000000000000000"