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

## Request

- Base URL: `https://apis.druva.com/realize`
- URL: `https://apis.druva.com/realize/ransomwarerecovery/v2/quarantineranges`
- Auth: none declared

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' | 'File Server' | 'NAS' | 'VMware' | 'OneDrive' | 'Google Drive' | 'SharePoint' | 'Shared Drive' | 'AzureVM'
- `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
  - `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.dev/druva/apis/cyber-resilience.md) - [All operations](https://skmtc.dev/druva/apis/cyber-resilience/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/cyber-resilience/revisions/b149d46c996a?raw)
