WSO2 IS:SCIM API 更新:SCIM 对象中缺少必需的属性用户名

WSO2 IS: SCIM API Update: Required attribute userName is missing in the SCIM Object

如何用PATCH更新用户,为什么需要userName(和PUT一样)?

curl -v -k --admin:admin -X PATCH -d '{"name":{"familyName":"Doe"}' \
--header "Content-Type:application/json" \
https://localhost:9443/wso2/scim/Users/bd61878b-a37c-4c71-ab76-c553d559539f

Required attribute userName is missing in the SCIM Object

我有不可变用户名的辅助用户存储。当我尝试在参数中也输入用户名时,同样没有改变。它报告我:

User name is immutable in carbon user store.

我用的wso2是5.1。有什么方法可以使用 SCIM API 更新用户?

请尝试here