PROFILE: Set new Password

The old and new password must be hashed as described in the "REGISTER USER" endpoint to succeed.

PROFILE: Set new Password

post

The old and new password must be hashed as described in the "REGISTER USER" endpoint to succeed.

Authorizations
Body
objectOptionalExample: {"old_password":"81abe8a5192e7c497adda42a3cfb378b0afc743c7f668588333157bbab977b71","new_password":"f42791414b55ac6c2088a399669720396ee0b627b3d9cf4b187935d69844a8aa"}
Responses
200

OK

application/json
Responseobject
post
/profile/setpassword
POST /api/v1/profile/setpassword HTTP/1.1
Host: api.hybrid-chain.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 165

{
  "old_password": "81abe8a5192e7c497adda42a3cfb378b0afc743c7f668588333157bbab977b71",
  "new_password": "f42791414b55ac6c2088a399669720396ee0b627b3d9cf4b187935d69844a8aa"
}
200

OK

{
  "success": true
}

Last updated

Was this helpful?