2 "/public/patrons/{patron_id}/password": {
4 "x-mojo-to": "Patrons::Password#set_public",
5 "operationId": "setPatronPasswordPublic",
11 "$ref": "../parameters.json#/patron_id_pp"
16 "description": "A JSON object containing password information",
21 "description": "New password (plain text)",
24 "password_repeated": {
25 "description": "Repeated new password (plain text)",
29 "description": "Patron's original password",
33 "required": ["password", "password_repeated", "old_password"]
42 "description": "Password changed"
45 "description": "Bad request",
47 "$ref": "../definitions.json#/error"
51 "description": "Authentication required",
53 "$ref": "../definitions.json#/error"
57 "description": "Access forbidden",
59 "$ref": "../definitions.json#/error"
63 "description": "Patron not found",
65 "$ref": "../definitions.json#/error"
69 "description": "Internal server error",
71 "$ref": "../definitions.json#/error"
75 "description": "Under maintenance",
77 "$ref": "../definitions.json#/error"
81 "x-koha-authorization": {