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

# List customers mapped to a rule

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

Returns customer global IDs mapped to a data protection rule.

## Path parameters

- `rule_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Ok

- DataProtectionRuleCustomersResponse — RuleCustomersResponse represents customers mapped to a rule
  - `customerGlobalIDs` string[] — Customer global IDs mapped to this rule

## Other responses

- `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)
