The update command modifies the configuration of a Sky Node.

JSON Input Data Format
{
    "id": string,
    "name": string,
    "tags": string,
    "type": string,
    "ip": string,
    "privateip": string,
    "zone": string
}
id * Specifies the ID of the Sky Node to be updated.
name * Specifies a name for Sky Node.
tags * Specifies the tags for the Sky Node. For example: DEV, PROD, FIN, etc.
type * Specifies the Sky Node type. Input Bare Metal if the host supports "vt-x" or "amd-v" virtualization. Input Virtual or Cloud otherwise.
ip * Specifies the primary IP address of the Sky Node.
privateip Specifies the motion IP address of the Sky Node. If your server has two network interface cards (NICs), you can specify a secondary IP address to be used for migration data movement.
zone Specifies the hostname or domain for the server, which is necessary to prevent certificate errors. However, exclude this field if you are unsure of the hostname or do not have a domain prepared, as you can register a certificate after the {NEBULA} deployment.
* 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 ..."
}