ZITADELZZITADEL
Powered by
levL
ZITADEL•8mo ago•
5 replies
lev

User update via API v2 causes 405 error.

I am using v3.2.3 self-hosted.
I try to use the API and started with updating the usirinfo. According to the https://zitadel.com/docs/apis/resources/user_service_v2/user-service-update-user , it should be PATCH /v2/users/:userId

I make a PATCH request http://localhost:8080/v2/users/319291506421202948 with the following body

{"username":"zitadel-admin@zitadel.localhost","human":{"profile":{"givenName":"ZITADEL","familyName":"Admin","nickName":"","displayName":"ZITADEL Admin 1"}}}

And always receive 405 Method Not Allowed.

What am I doing wrong? I also tried PUT and POST, but it still says 405
Thanks in advance.
ZITADEL Docs
Partially update an existing user.
ZITADEL Docs
ZITADEL banner
ZITADELJoin
ZITADEL - Identity infrastructure, simplified for you.
4,374Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Organization API v2
DarentDDarent / questions-help-bugs
8mo ago