Zerto Virtual Replication 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.
Json Request Body Format
The following is an example request Json body 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
IsKeepTargetDisks
Optional. The default is false.
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.
Response Body Format
The following is an example response request Json body for https://zvm_ip:port/v1/peersites/{SiteIdentifier} DELETE request.
["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.
XML Response Format
For the XML response format, see “Peer Sites API DELETE Method Request and Response Formats”, on page 238.