---
title: "Lists all quarantine ranges - v1"
method: GET
path: "/ransomwarerecovery/v1/quarantineranges"
tags: ["Ransomware Recovery"]
---

# Lists all quarantine ranges - v1

`GET /ransomwarerecovery/v1/quarantineranges`

## Request

- Base URL: `https://apis.druva.com/realize`
- URL: `https://apis.druva.com/realize/ransomwarerecovery/v1/quarantineranges`
- Auth: API key in header `Authorization`

Returns the list of all the defined quarantined ranges for resources along with their details.
:fa-info-circle: Both v1 and v2 Quarantine APIs are supported for Endpoints, File Server, NAS, VMware, OneDrive, Google Drive, SharePoint, and Shared Drive. However, only v2 Quarantine APIs are supported for Azure Virtual Machines.

## Query parameters

- `searchString` string
- `resourceParent` string
- `fromDate` string
- `toDate` string
- `resourceType[]` string[]
- `pageToken` integer
- `orgID` integer
- `resourceName` string
- `resourceID` integer

## Response `200`

OK

- QuarantineRangeListResponse
  - `quarantineRanges` object[]
    - `resourceID` integer: The unique identifier of the resource, a device or a backup set, which is quarantined. Example - 101.
    - `rangeID` integer: The unique identifier of the quarantine range for the quarantined resource. Example - 101.
    - `orgID` integer: The unique identifier of the Phoenix organization for the quarantined resource. Example - 101. Not applicable for Endpoints.
    - `resourceName` string: Name of the quarantined resource. Example - Ernie Carter's Macbook.
    - `resourceParent` string: Name of the device user in case of a device or Server Name in case of a backup set which is quarantined. Example - Ernie Carter
    - `resourcePlatform` string: The operating system on the quarantined resource. Example - linux
    - `resourceType` string: The type of resource. A resource can be one of the following types: Endpoint File Server NAS, and so on
    - `workload` string: The type of workload. A workload can be one of the following types: endpoint file Server nas, and so on
    - `fromDate` string, date: Lists the start date of the quarantine range. Example - 2020-01-25
    - `toDate` string, date: Lists the end date of the quarantine change. If the administrator has not defined any end date, empty string is returned.
  - `errorMessage` string: Error Message if any.
  - `nextPageToken` integer: The token to access the next page of results. This parameter will be empty for the last page of results.
  - `isLast` boolean: An identifier to identify if the returned page is the last page of results. Value can be one of the following - True - Is last page of results. False - There are more results available. Use 'nextPageToken' value to get the next list of results.

## Other responses

- `400`: Bad Request
- `401`: The request either did not include an authentication token, or you have provided an expired authentication token.
- `404`: The requested resource was 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)
