---
title: "Lists all resources with at least one quarantined snapshot, filtered by query parameters - v2"
method: GET
path: "/ransomwarerecovery/v2/quarantineranges"
tags: ["Ransomware Recovery"]
---

# Lists all resources with at least one quarantined snapshot, filtered by query parameters - v2

`GET /ransomwarerecovery/v2/quarantineranges`

Lists all resources which have at least one quarantined snapshot and satisfy the filter criteria given by query parameters

## Query parameters

- `searchString` string
- `fromDate` string, date
- `toDate` string, date
- `resourceTypes[]` 'Endpoint' | 'OneDrive' | 'SharePoint' | 'File Server' | 'NAS' | 'VMware'
- `pageToken` string

## Response `200`

OK

- ListQuarantinedResourcesResponseSchema
  - `quarantinedResources` object[]
    - `resourceID` integer
    - `rangeIDs` object[]
      - `rangeID` integer
      - `fromDate` string, date
      - `toDate` string, date
      - `quarantineType` integer — Indicates the type of Quarantine enabled for the resource. The value 2 refers to Auto Quarantine type while 1 indicates Manual Quarantine.
    - `resourceName` string
    - `resourceType` string
    - `orgID` integer — The Phoenix organization ID for the resource.
  - `nextPageToken` string

## Other responses

- `400` — Bad Request
- `401` — The request did not include an authentication token or an expired authentication token was supplied.
- `404` — Not found
- `500` — Internal Server Error

---

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