Skip to content

Reset password

POST
/api/v1/auth/reset-password

Reset a user’s password using a valid reset token.

Authorizations

Request Body required

Request body for the reset-password endpoint.

Attributes: token: The password reset token from the email link. new_password: The new password (min 8 characters).

object
new_password
required

New password (min 8 chars)

string
>= 8 characters
token
required

Password reset token

string

Responses

200

Successful Response

Response body for the reset-password endpoint.

Attributes: message: A success message.

object
message
required
string

422

Validation Error

object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string