Chelabase
Login apiLogin

Confirm Password Reset

POST
/auth/v1/password-reset/confirm

Sets a new password with the code from the reset email, verifies the email and ends every session of the account. A wrong code and an unknown email answer alike. Sets no cookie: sign in with the new password.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

code*string

The six-digit code from the reset email.

email*string
password*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/auth/v1/password-reset/confirm" \  -H "Content-Type: application/json" \  -d '{    "code": "string",    "email": "string",    "password": "string"  }'
{}