The remove-subnet command removes a subnet from the network.

JSON Input Data Format
{
    "id": string,
    "name": string
}
id * Specifies the ID of the network.
name * Specifies the device name of the subnet to be removed.
* 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 ..."
}