---
title: "Delete a rule"
method: DELETE
path: "/msp/dataProtection/v1/rules/{rule_id}"
tags: ["Data Protection"]
---

# Delete a rule

`DELETE /msp/dataProtection/v1/rules/{rule_id}`

Deletes a data protection rule. Rules that have customers mapped cannot be deleted.

## Path parameters

- `rule_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Ok - Rule deleted successfully

## Other responses

- `400` — Bad Request - Rule has mapped customers
- `401` — The request did not include a valid Access Token. Kindly provide a valid Access Token to process the request.
- `403` — Forbidden - Insufficient permissions
- `404` — Not Found - Rule does not exist or does not belong to MSP
- `500` — The request was not processed due to an internal error. Kindly try again later. If the error persists, contact Druva Support.

---

[API](https://skmtc.net/druva/apis/authentication.md) · [All operations](https://skmtc.net/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/druva/authentication/revisions/2af2bf148b25/schema)
