Activates wallet protection.
## Request Structure
`JSON object:`
```JSON
{
"method": "wallet",
"subcommand": ["activate"],
"arguments": {
"w": "wallet_name",
"password": "password",
"ttl": "time_to_live"
},
"id": "1"
}
```
`Parameters:`
**`w`** - name of the wallet
**`password`** - wallet password
**`ttl`** - time to live parameter which defines activation time in minutes `optional`
### Curl Example
`Request:`
```actionscript
curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '
{
"method": "wallet",
"subcommand": ["activate"],
"arguments": {
"w": "testwallet",
"password": "1234"
},
"id": "1"
}'
```
`Response:`
```json
{
"type": 2,
"result": [
[
{
"Wallet name": "testwallet",
"protection": "is activated"
}
]
],
"id": 1
}
```