Yurba Docs

POST /reset_password

Restoring access to your account by changing your password. The code is sent by email via /reset endpoint

Request headers:

"Content-Type: application/json"

Request body:

{
   code: string,
   password: string
}

Response:

{
   ok: int
}

Example:

{
   ok: 1
}

Errors:

code_not_found: your code is outdated or doesn't exist

password_is_too_short: password < 6 symbols

invalid_password: password encryption error