v1

latestOpenAPI 3.1.02026-07-245531,0212.1 MB
Ransomware Recovery

Creates / Updates / Deletes provided quarantine ranges - v2

This API replaces all existing quarantine ranges for a resource with the provided ranges. To preserve existing ranges, retrieve them via a GET (/ransomwarerecovery/v2/quarantineranges) request before using this API. If no ranges are provided in the input, all existing ranges for the resource are deleted.

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

Path parameters

resourceIDinteger required

The unique ID of the resource that you want to quarantine.

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"
    }
  ]
}