Skip to content

Edit Combination

Maya Saxena edited this page Mar 22, 2018 · 3 revisions

POST /edit-combination

Requirements:

  • token: unique user token provided by PickPocket backend
  • userId: user ID of lock owner
  • combination: the new lock combination

Example request:

POST /edit-combination
Content-Type: application/json

{
    "token": "888d1d12-da75-11e6-ba3e-a66e6dc7839b",
    "userId": "JohnM",
    "combination": "[1,3,3,3]"
}

Example response:

{
    "response": "success"
}
Clone this wiki locally