---
title: "List exclusions for a rule"
method: GET
path: "/msp/dataProtection/v1/rules/{rule_id}/exclusions"
tags: ["Data Protection"]
---

# List exclusions for a rule

`GET /msp/dataProtection/v1/rules/{rule_id}/exclusions`

Returns exclusions configured for a data protection rule.

## Path parameters

- `rule_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Ok

- DataProtectionListExclusionsResponse — ListExclusionsResponse represents the response for listing exclusions
  - `exclusions` DataProtectionExclusionResponse[] — List of exclusions
    - `customerGlobalID` string — Customer global ID for the excluded scope
    - `entityName` string — Organization, site, or profile name excluded, when applicable
    - `resourceName` string — Specific resource excluded (for example backup set or mailbox), when applicable
  - `nextPageToken` string — Token for next page (empty string if no more results)

## Other responses

- `400` — Bad Request
- `401` — The request did not include a valid Access Token. Kindly provide a valid Access Token to process the request.
- `403` — Forbidden
- `404` — Not Found
- `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)
