Reset Password
POST
/web/v1/users/self/auth/password/resetNoneResets the user's password using a token received via the forgot-password email. The token is single-use and time-limited.
Authentication
Auth Chain: WEB Chain — no JWT required (pre-authentication endpoint) These headers are injected by the system (frontend does nothing):
X-PORTAL-ACCESS-CODE(Nginx),X-Request-Id(Gateway)
Request Parameters
| Name | Type | Required | In | Description |
|---|---|---|---|---|
rawRequestBody | String | Yes | body | Encrypted request payload (parsed server-side) |
Success Response
Success200
{
"version": "1.3.0",
"timestamp": 1709337600000,
"success": true,
"code": "2000",
"message": "SUCCESS",
"data": {
"success": true,
"email": "user@example.com"
}
}Error Responses
Unauthorized401
{
"success": false,
"code": "4010",
"message": "Invalid or expired token"
}Notes
- The reset token is single-use and time-limited.
- Rate limited to 5 requests per 300-second window.
- The request body is strictly validated; unknown properties will cause a rejection.