Zerto Virtual Replication APIs : Peer Sites API : https://zvm_ip:port/v1/peersites - POST Method
  
https://zvm_ip:port/v1/peersites - POST Method
Pairs the current site with another site.
URL
Pair with another site
https://zvm_ip:port/v1/peersites
Where:
zvm_ip
The IP address of the Zerto Virtual Manager where the API is run.
port
The port to access the Zerto Virtual Manager. The default port is 9669.
Json Request Body Format
The following is an example request Json body for https://zvm_ip:port/v1/peersites POST request.
{
  "HostName": "String content"
  "Port":9081
}
Request Values
Request values for https://zvm_ip:port/v1/peersites POST request.
Parameter
Description
HostName
The address or DNS name of the Zerto Virtual Managermachine that will pair to the current site.
Port
The default port used for communication between paired Zerto Virtual Managers. The default port is 9081.
XML Request Format
For the XML request format, see Peer Sites API POST Method Request and Response Formats.
Response Body Format
The following is an example response request Json body for https://zvm_ip:port/v1/peersites POST request.
["String content"]
XML Response Format
For the XML response format, see Peer Sites API POST Method Request and Response Formats.
Response Values
Response values for https://zvm_ip:port/v1/peersites POST request.
Parameter
Description
TaskIdentifier
The identifier of the pairing task.