The decomission command will delete all data and reset the operating system of the Sky Node and optionally remove it from the inventory. After decommissioning, the node can be reused by deploying {NEBULA} again.

JSON Input Data Format
{
    "id": string,
    "remove": boolean
}
id * Specifies the ID of the Sky Node.
remove * If set to true the Sky Node will be removed from the inventory.
* 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 ..."
}