Update a Site’s Port

METHOD URL
PUT https://zcm_ip:port/v1/sites/{siteidentifier}

Where:

zcm_ip The IP address of the Zerto Cloud Manager where the API is run.
port The port to access the Zerto Cloud Manager. The default port is 9989.
siteidentifier Internal identifier for the cloud site.

Request

The following is an example request Json body for Windows ZCM:

{
  "Port": 9669
}

PARAMETER TYPE DESCRIPTION
Port Integer The ZCM site port number (only for Windows ZCM)

The following is an example request Json body for Linux ZCM:

{
  "ExternalHostName":"string",
  "AccessCode":"string"
}

PARAMETER TYPE DESCRIPTION
ExternalHostName String content IP or URL used by the Tenant UI plugin
AccessCode String content

The unique access code generated by the site Zerto Virtual Manager. To retrieve the access code:

1. Log in to Zerto Virtual Manager as a user with administrator privileges.
2. Go to Site Settings > Site Information.
3. In the Cloud Manager section, copy the ZCM access code.

Response

The response body is empty.

Back to Sites APIs

Back to List of APIs

See also Starting and Ending a Session