---
title: "Delete a dataset"
method: DELETE
path: "/api/v2/security_monitoring/datasets/{dataset_id}"
tags: ["Security Monitoring"]
---

# Delete a dataset

`DELETE /api/v2/security_monitoring/datasets/{dataset_id}`

Delete a Cloud SIEM dataset. Out-of-the-box datasets cannot be deleted and
deleting a dataset that is referenced by a detection rule is rejected.

## Path parameters

- `dataset_id` string, required

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `429` — Too many requests

---

[API](https://skmtc.dev/datadog/apis/api-v2.md) · [All operations](https://skmtc.dev/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
