# Reset Password Resets a user's password using the reset code sent by the recover password endpoint. No authentication. Messages are in the language given by language (pt, en or es); otherwise in the language of the user's account, or Portuguese. The examples below are in English. Endpoint: POST /api/v3/users/reset_password Version: 3.1.0 Security: ## Request fields (application/json): - `language` (string) Optional. Language of the response messages. It can also be sent as a query parameter. Without it (or with another value) the messages use the language of the user's account, or Portuguese (pt) when the reset code is invalid. Enum: "pt", "en", "es" - `user` (object, required) - `user.reset_code` (string, required) Example: "e72bfdaeb6d719ec975162f8dbbc6733297b0cb0d3d780f4c42163acfb5aa0502285dccacae0cab41d044c19ed21bd9c7c04b3c7eb8e58b16245e0a97e468dfe" - `user.password` (string, required) New password. Must differ from the current one (Password can't be identical to the current one). Example: "yoDWznBeH5j$JP98" - `user.password_confirmation` (string, required) Must equal password (Password mismatch). Example: "yoDWznBeH5j$JP98" ## Response 200 fields (application/json): - `message` (string) Example: "Password successfully reset." ## Response 404 fields (application/json): - `errors` (array) Example: [{"error":"Resource not found"}] - `errors.error` (string) ## Response 422 fields (application/json): - `errors` (array) Example: [{"error":"An unexpected error occurred"}] - `errors.error` (string) ## Response 500 fields (application/json): - `errors` (array) Example: [{"error":"An unexpected error occurred"}] - `errors.error` (string)