http://github.com/org/folio/mod-users
This documents the API calls that can be made to set and verify patron pins
Set the PIN for a user
POST /patron-pin
Media type: application/json
Example:
{ "id": "7261ecaae3a74dc68b468e12a70b1aec", "pin": "1234" }
Pin created
Internal server error, e.g. due to misconfiguration
Media type: text/plain
Type: any
Internal server error, contact administrator
Remove the PIN for a user
DELETE /patron-pin
{ "id": "7261ecaae3a74dc68b468e12a70b1aec" }
Pin removed
Pin not valid
Verify the pin posted
POST /patron-pin/verify
Pin valid