2 "/patrons/{patron_id}/password": {
4 "x-mojo-to": "Patrons::Password#set",
5 "operationId": "setPatronPassword",
11 "$ref": "../parameters.json#/patron_id_pp"
16 "description": "A JSON object containing password information",
21 "description": "New password (plain text)",
25 "description": "Repeated new password (plain text)",
29 "required": ["password", "password_2"],
30 "additionalProperties": false
39 "description": "Password changed"
42 "description": "Bad request",
44 "$ref": "../definitions.json#/error"
48 "description": "Authentication required",
50 "$ref": "../definitions.json#/error"
54 "description": "Access forbidden",
56 "$ref": "../definitions.json#/error"
60 "description": "Patron not found",
62 "$ref": "../definitions.json#/error"
66 "description": "Internal server error",
68 "$ref": "../definitions.json#/error"
72 "description": "Under maintenance",
74 "$ref": "../definitions.json#/error"
78 "x-koha-authorization": {