Zerto APIs : Peer Sites API : URL
  
URL
 
Unpair with another site
https://zvm_ip:port/v1/peersites/{SiteIdentifier}
Where:
 
zvm_ip
The IP address of the Zerto Virtual Manager machine where the API is run.
port
The port to access the Zerto Virtual Manager. The default port is 9669.
SiteIdentifier
The identifier of the site to unpair.
Request Body Using Json Format
The following is an example of a request body in Json format for https://zvm_ip:port/v1/peersites/{SiteIdentifier} DELETE request.
{  
  "IsKeepTargetDisks": Boolean
}
Request Values
Request values for https://zvm_ip:port/v1/peersites/{SiteIdentifier} DELETE request.
Parameter
Description
MANDATORY
default
IsKeepTargetDisks
True: Keep the target replica disks for any VPGs replicating between the sites as the VPGs will be deleted by unpairing the sites. This will enable faster synchronization in the event of recreating these VPGs at a later stage.
False: The target replica disks for the virtual machines are deleted.
No
False
Response In Json Format
The following is an example response request Json body for https://zvm_ip:port/v1/peersites/{SiteIdentifier} DELETE request.
{  
  "TaskIdentifier": "String content"
}
Response Values
Response values for https://zvm_ip:port/v1/peersites/{SiteIdentifier} DELETE request.
Parameter
Description
TaskIdentifier
The identifier of the pairing task. The task identifier can be used with the Tasks API to monitor the pairing action.
XML Response Format
For the XML response format, see “Peer Sites API DELETE Method Request and Response Formats”, on page 364.
PowerShell Scripts
For complete PowerShell Scripts, see “Examples”, on page 23.