(.config = "webaccess": {"active": true, "access_private_key": true})
POST http://127.0.0.1/api/access/exportkey
{ "token": "f71d593ca1eda6f96972a45283e2c983" }
success response:
(base64): {"success": true, "private_key": "AAIAAEgAA***************13d48+20ceOuyd3qcZhpHnIlevnCd1Sc4oZir7Fnn0EDAAAAAEAAAABAAAAEQAAAOGR"}
fail response:
{"success":"false","error":"access to private keys is disabled"}
Last updated 1 year ago