A remote network can be added to the configuration by using the POST command using the /networks endpoint. The remote network's details must be specified in the body. Mandatory fields are:
-
networkAddress
the IP address of the network -
mask
the netmask -
name
the network name.
If successful, the GUID of the network is returned in the response body.
Example:
POST https://192.168.0.1/networks
{
"mask": "255.255.255.0",
"networkAddress": "192.168.1.0",
"name": "myRemoteNetwork"
}
will create a new remote network, with a resulting response like: BDDEE0CA-E615-49BB-9E13-356D308207BB
Comments
0 comments
Please sign in to leave a comment.