Adds or removes `validator` by its public key hash to list of validators allowed to work in `emergency mode`.
> [!HINT] Note
> You must be a **root node**.
## Request Structure
`JSON object:`
```JSON
{
"method": "esbocs",
"subcommand": ["emergency_validators", "add | remove"],
"arguments": {
"net": "network_name",
"chain": "chain_name",
"cert": "poa_cert_name",
"pkey_hash": "public_key_hash"
},
"id": "1"
}
```
`Parameters:`
**`net (network_name)`** - 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]]
**`chain`** - name of the chain `optional`
**`cert`** - name of the root node certificate
**`pkey_hash`** - public key hash of the validator
### Curl Example
`Request:`
```actionscript
curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '{
"method": "esbocs",
"subcommand": ["emergency_validators","add"],
"arguments": {
"net": "riemann",
"chain": "main",
"cert": "riemann.root.pvt.0",
"pkey_hash": "0x327DF692D5918F7A62BC478B04E10892084DDCA801EAF35710BD40C9DCEBF95D"
},
"id": "1"
}'
```
`Response:`
```json
{
"type": 2,
"result": [
{
"Emergency validator": "0x327DF692D5918F7A62BC478B04E10892084DDCA801EAF35710BD40C9DCEBF95D",
"status": "added",
"Decree hash": "0xC94C83BBA517053BAA8D0A82753EC5263B5B66D97B1C0FED358B383F2AFF78AB"
}
],
"errors": null,
"id": 1
}
```