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"]
38 "description": "Password changed"
41 "description": "Bad request",
43 "$ref": "../definitions.json#/error"
47 "description": "Authentication required",
49 "$ref": "../definitions.json#/error"
53 "description": "Access forbidden",
55 "$ref": "../definitions.json#/error"
59 "description": "Patron not found",
61 "$ref": "../definitions.json#/error"
65 "description": "Internal server error",
67 "$ref": "../definitions.json#/error"
71 "description": "Under maintenance",
73 "$ref": "../definitions.json#/error"
77 "x-koha-authorization": {