---
title: "List rules for a customer"
method: GET
path: "/msp/dataProtection/v1/customers/{customer_global_id}/rules"
tags: ["Data Protection"]
---

# List rules for a customer

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

Returns data protection rule IDs mapped to a customer.

## Path parameters

- `customer_global_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Ok

- DataProtectionGetRulesForCustomerResponse — GetRulesForCustomerResponse represents get rules for customer API response
  - `customerGlobalID` string
  - `ruleIDs` string[]

## Other responses

- `401` — The request did not include a valid Access Token. Kindly provide a valid Access Token to process the request.
- `403` — Forbidden - Tenant Admin does not have access to this customer
- `404` — Not Found - Customer does not belong to this 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.dev/druva/apis/authentication.md) · [All operations](https://skmtc.dev/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/druva/authentication/revisions/2af2bf148b25/schema)
