v1

latestOpenAPI 3.1.02026-07-245531,0212.1 MB
Ransomware Recovery

Creates provided quarantine ranges - v2

Creates provided quarantine ranges for resources. While creating quarantine ranges, the API checks for overlapping ranges and displays an error if the overlapping ranges are present.

post/ransomwarerecovery/v2/quarantineranges/resource/{resourceID}

Path parameters

resourceIDinteger required

The unique ID of the resource for which you want to create a quarantine range.

Request body

resourceType'Endpoint' | 'OneDrive' | 'SharePoint' | 'File Server' | 'NAS' | 'VMware'

Select the resource type. Select Endpoint if you want to quarantine snapshots on a device. Select File Server, NAS, VMware respectively if you want to quarantine snapshots on server data sources.

orgIDinteger

The Phoenix organization ID for the resource. For inSync workloads, value will be -1.

Example request

{
  "orgID": -1,
  "ranges": [
    {
      "fromDate": "2020-10-25",
      "toDate": "2021-10-25",
      "quarantineType": 1
    }
  ]
}

Response

OK

Example response

{
  "ranges": [
    {
      "fromDate": "2020-10-25",
      "toDate": "2021-10-25"
    }
  ]
}