The create command is used to create a Sky Router link between two {ANYNODE}s, allowing the specified IP range.

JSON Input Data Format
{
    fromid: string,
    toid: string,
    iprange: string
}
fromid * Specifies the cloud ID from which you want to link to a private network.
toid * Specifies the cloud ID to which you want to link a private network.
iprange * Specifies the IP range that will be allowed in the link. Possible inputs are as follows:
  • 10.2.0.101,10.2.0.102,10.2.0.103
    Comma-separated list of single IP addresses
  • 10.2.0.0/16,10.3.0.0/16,10.4.0.0/16
    Comma-separated list of masked IP ranges
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": "The process was successfully completed"
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}