v1

latestOpenAPI 3.1.02026-07-245531,0212.1 MB
Ransomware Recovery

Update the quarantine range - v1

Use this API to update the quarantine range for an infected resource. :fa-info-circle: Both v1 and v2 Quarantine APIs are supported for Endpoints, File Server, NAS, VMware, OneDrive, and SharePoint.

put/ransomwarerecovery/v1/quarantineranges/resource/{resourceID}/range/{rangeID}

Path parameters

resourceIDinteger required

The unique ID of the quarantined resource on which the snapshots range needs to be updated. Get the ID of a device using the ‘List all devices’ API. For data sources like File Server, NAS, VMware refer to the respective ‘List all backup sets’ API.

rangeIDinteger required

The unique quarantine range ID which needs the update. Get the quarantine range ID using the 'List all quarantine ranges' API.

Request body

fromDatestring date

Specify a date from which you want to quarantine all the snapshots. Format - YYYY-MM-DD Example - 2020-10-25. :fa-info-circle: If you do not specify a date Druva will quarantine all the snapshots after November 10, 2019 (a system-defined limit). Druva uses UTC time zone to quarantine a resource. You must factor in the difference between the resource time zone and UTC zone while selecting the dates.

toDatestring date

Specify the date until which you want to quarantine the snapshots on the resource. Format - YYYY-MM-DD. Example - 2020-04-01 :fa-info-circle: If you do not specify a date Druva will keep quarantining all the snapshots formed on the resource indefinitely.

Example request

{
  "fromDate": "2020-09-25",
  "toDate": "2020-10-25"
}

Response

OK

rangeIDinteger

The unique identifier of the quarantine range which is created or updated for the resource.

Example response

{
  "rangeID": 101
}