API referenceAuthentication
Set a new password with a reset token
Set a new password with a reset token
POST
/v1/auth/password-reset/confirmRate limit: 30 requests per 60 s per IP.
Error codes: password_too_short (400), password_breached (400),
invalid_or_expired_token (400), invalid_input (400).
Authentication
- This operation needs no authentication.
Parameters
This operation takes no parameters.
Request body
required
Content type: application/json
{
"token": "3q2hHkz0V8wXbA4tNfYcDmEuJp",
"newPassword": "a-new-long-password"
}Responses
| Status | Meaning |
|---|---|
200 | Password updated. |
400 | The request body or query failed validation. The per-operation description lists the exact error.code values. |
429 | Rate limit exceeded. |
Example request
{
"token": "3q2hHkz0V8wXbA4tNfYcDmEuJp",
"newPassword": "a-new-long-password"
}Try it
POST
/v1/auth/password-reset/confirmNo authentication
API playground
Send a live request to the Videohati API; this operation needs no authentication.
https://api.staging.videohati.com/v1/auth/password-reset/confirm