Latest stories

set_encryption_key

  • Inputs
{
    "key": "string: client key"
}

  • Errors
{
    "can_not_decrypt": "Sent key has been encrypted with wrong public key",
    "must_logout": "user must logout"
}

  • Extra Description
Informs pantel server that from now on every requests from UI would be encrypted with this new key

  • Sample
  • Url:
https://api.pantel.me/a/set_encryption_key?key=baWIHxOh4YymgYTgTFQUQA81wDBqBywS2Ss5U+ZPwiISideZ2y/rglZX47BzdfoGWUv1zu21YQaG/57sFRU0JjCaOWGH/5KmbfO6Y8hSMhKxghqhi8dvC0QZAoDjherumDY/6XewGMBoETwWLaCVxITEgBbLtMrRntV3qqMntc=
  • Output:
                                {
    "key_id": 1595250326450404,
    "status": "success",
    "time": 1546760824.680295
}