PATCH
/
auth
/
resetpassword
Reset password
curl --request PATCH \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/auth/resetpassword \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jsmith@example.com",
  "new_password": "<string>"
}'
{
  "message": "Password Reset Successful"
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Query Parameters

code
string

The verification code sent to the user's email

Body

application/json

Response

200
application/json

Success - If Logged In

The response is of type object.