# Import private key

POST <http://127.0.0.1/api/user/key/import>

```json
.config
{
	"webuser": {
		"enabled": true, 
		"rw_pkey": true,
		}
}
```

**rw\_pkey** - enable access to import/export private keys (value must be **true** for import)

```json
{ 
	"private_key": "AAIAAEgAAAAQAAA     AAAABAAAABQAAABMO"
}
```

```json
success response: {"success": true, "id": 15, "mail": "test3@dex.ru", "address": "4q9gCwTnXXy7WF485rAhDxUoYY08XH6E"}
```

```json
fail response: {"success":"false","error":"access to private keys is disabled"}
```
