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

# Lists all quarantine ranges - v1

`GET /ransomwarerecovery/v1/quarantineranges`

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, and SharePoint.

## 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 Phoenix organization ID for the resource. For inSync workloads, value will be -1.
    - `resourceName` string — Name of the quarantined resource. Example - Ernie Carter's Macbook.
    - `resourceParent` string — Name of the device user in case of a device
    - `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 OneDrive SharePoint File Server NAS VMware and so on
    - `workload` string — The type of workload. A workload can be one of the following types: endpoint onedrive sharepoint fileserver nas vmware, 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.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)
