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.
5 Replies
I have the same issue in v2.71.10, although the Bearer token I pass along belongs to an IAM_Owner and to be safe I also added IAM_User_Manager
Update! this is also still happening for me in v3.3.0
@avondas , I upgraded to 3.3.0 and yes, it happens there as well
I did exactly that
hey @lev you can keep an eye and once it gets out, it will clarify the confusion.