Change password
Changes the current user's password. old_password is optional for users without a password (e.g. social login).
PUT
/api/profile/change-passwordBody
old_passwordstringnew_passwordstringrequiredconfirm_passwordstringrequiredRequest
curl
curl -X PUT https://platform.trickest.com/api/profile/change-password \
-H "Authorization: Bearer $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
200Password changed
successboolean400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring