The add-subnet command defines and adds a subnet to the network.
JSON Input Data Format

    {
        "id": string,
        "name": string,
        "subnet": string
    }

id * | Specifies the ID of the network.
name * | Specifies the device name to be created on the Sky Nodes. The name must not include spaces.
subnet * | Specifies the subnet to be added, which must always be a X.X.0.0/16 format. e.g. 20.1.0.0/16

* 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 ..."
    }