2isprime2
ZITADEL2y ago
24 replies
2isprime

User is not getting updated on v2

He Team,

With the recent change : https://github.com/zitadel/zitadel/pull/8635

The user details are not getting updated, I am on version 2.62 and on passing the user details in body, the response is 200, although the user details are not updated.

PUT: http://custom_domain/v2/users/human/:userId

Request Body:

{
  "profile": {
        "givenName": "Test",
        "familyName": "USer",
        "nickName": "''",
        "displayName": "Test User",
        "preferredLanguage": "und",
        "gender": "GENDER_UNSPECIFIED"
    },
    "email": {
        "email": "test@gmail.com",
        "isVerified": true
    },
    "phone": {
        "phone": "+9712222222"
    }
}


Respone:
{
    "details": {
        "sequence": "1",
        "changeDate": "2024-09-26T20:15:16.971158Z",
        "resourceOwner": "286501988902895619"
    }
}


The user details are not updated
GitHub
Use body for update user endpoint on user v2 API.
fix: use body for update user on user v2 API by stebenz · Pull Requ...
Was this page helpful?