Avlambertucci
Avlambertucci•2mo ago

Change password API call

Hi Zitadel team! I need to add change password on my app, I noticed that the v2 https://$CUSTOM-DOMAIN/v2/users/:userId/password is deprecated, it suggesting to use a PATCH on the user instead, but I just want to change the password, is that correct? Thanks!
3 Replies
Rajat
Rajat•5w ago
hey @Avlambertucci thanks for your question, you an still go ahead and use it, its a simple effort to use PATCH when a fraction of resource is updated while PUT that is used to replace the entire resource. PATCH v PUT you can still use the users/:userId/password as its only marked as deprecated, but still works for current deployments 🙂
Avlambertucci
AvlambertucciOP•4w ago
Ops sorry I said PATCH but I meant POST, on the documentation that endpoint is a POST
Gigi the Giraffe (Zitadel)
🎉 Looks like you just helped out another community member! Thanks for being so helpful <@1346540274674827395>! You're now one step closer to leveling up—keep up the amazing peer support! 🚀

Did you find this page helpful?