put
https://{host}/password/reset
Password Reset
Allows a user to reset their password using a valid reset token. The user must provide the token received (typically via email) and specify a new password that meets security requirements.
HTTP Method and URL
-
Method:
PUT -
URL:
{{host}}/password/reset
Authentication Requirements
- No authentication required. The reset token serves as authorization.
Request Body
Content-Type: multipart/form-data
| Field | Type | Required | Description |
|---|---|---|---|
token | string | Yes | The password reset token received by the user. |
password | string | Yes | The new password for the account. |
password_confirmation | string | Yes | Confirmation of the new password. |
Example Request
PUT {{host}}/password/reset
Content-Type: multipart/form-data
token=751394
password=Abcd1234!
password_confirmation=Abcd1234!
Example Successful Response
{
"message": "Password reset successful."
}
Error Responses
-
400 Bad Request: Missing or invalid parameters. -
401 Unauthorized: Invalid or expired reset token. -
422 Unprocessable Entity: Password does not meet security criteria or confirmation does not match.
Usage Notes
-
Ensure the new password meets all security requirements.
-
The reset token is typically sent to the user's email and is valid for a limited time.
-
Both
passwordandpassword_confirmationmust match exactly.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
