---
title: "Delete a rollup rule with the given id"
method: DELETE
path: "/namespaces/{namespaceID}/rollup-rules/{ruleID}"
tags: ["rollup-rules"]
---

# Delete a rollup rule with the given id

`DELETE /namespaces/{namespaceID}/rollup-rules/{ruleID}`

## Path parameters

- `namespaceID` string, required
- `ruleID` string, required

## Response `200`

Ruleset updated

- ApiResponse
  - `code` string
  - `message` string

## Other responses

- `404` — No such namespace
- `409` — The ruleset got updated while you were looking at it.
- `500` — Something went horribly wrong

---

[API](https://skmtc.net/m3db/apis/r2-api.md) · [All operations](https://skmtc.net/m3db/apis/r2-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/m3db/r2-api/versions/0e7f233d17fb/schema)
