Changes current network operational state: [online | offline] or forces it to start a syncronization [sync] process.
## Request Structure
`JSON object:`
```JSON
{
"method": "net",
"subcommand": ["go","online | offline | sync"],
"arguments": {
"net": "network_name",
"mode": "update | all"
},
"id": "1"
}
```
`Parameters:`
**`net`** - name of the Cellframe Network. The list of networks can be found in the `<Config_dir> \ etc \ network` folder or received using - [[Node Command - NET LIST]]
**`mode`** - `update` (by default if only new chains and gdb are up to update) or `all` (updates everything from zero) `optional`
`Subcommands:`
**`online`** - change network state to `online`
**`offline`** - change network state to `offline`
**`sync`** - start synchronization process
### Curl Example
`Request:`
```powershell
curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '{
"method": "net",
"subcommand": ["go","offline"],
"arguments": {
"net": "Backbone"
},
"id": "1"
}'
```
`Response:`
```json
{
"type": 2,
"result": [
{
"net": "Backbone",
"current": "NET_STATE_ONLINE",
"to": "NET_STATE_OFFLINE"
}
],
"id": 1
}
```