hanakoa / alpaca

Containerized Go µServices for authentication and authorization.
https://hanakoa.github.io/alpaca/
MIT License
5 stars 0 forks source link

PUT /person/password #29

Closed kevinmichaelchen closed 6 years ago

kevinmichaelchen commented 6 years ago
http PUT localhost:8080/person/963232107084124160/password password="Tesla123Is-Super-Secure"

will get the following response:

HTTP/1.1 200 OK
Content-Length: 285
Content-Type: application/json
Date: Thu, 15 Feb 2018 03:49:28 GMT
{
    "createdDateTime": "2018-02-14T22:49:28.001714Z",
    "expirationDateTime": "2018-08-14T22:49:28.001714Z",
    "id": 963983571289116672,
    "id_str": "963983571289116672",
    "iterationCount": 0,
    "password": "",
    "passwordHash": null,
    "personId": 963232107084124160,
    "personId_str": "963232107084124160",
    "salt": null
}