This step is overview.
![enter image description here](https://i.stack.imgur.com/YQTQu.png)
1 Find master access token URL
![enter image description here](https://i.stack.imgur.com/LJrom.png)
在我的演示网址中,
http://localhost:8180/auth/realms/master/protocol/openid-connect/token
This may help long life of access-token time if you needs to more space time to handle step 3 and 4
![enter image description here](https://i.stack.imgur.com/B6hB6.png)
2 Get master token
run postman, use #1-4 URL
assign variable in tests tab
![enter image description here](https://i.stack.imgur.com/9mlsb.png)
访问令牌变量将使用 #3 和 #4
var jsonData = JSON.parse(responseBody);
postman.setEnvironmentVariable("access-token", jsonData.access_token);
set the Key in Body tab with x-www-form-urlencoded option
Click Send button
![enter image description here](https://i.stack.imgur.com/zLRNS.png)
Should be return OK 200 status and see the access token
![enter image description here](https://i.stack.imgur.com/YetCH.png)
3 Get space-realm user
I added one user, I will get this user information
In my get user list URL
http://localhost:8180/auth/admin/realms/space-realm/users
在“授权”选项卡中使用此变量
{{access-token}}
4 Update user properties with 3's user UI
set header
![enter image description here](https://i.stack.imgur.com/KQObD.png)
The status should be 204 No Content status
![enter image description here](https://i.stack.imgur.com/J54j2.png)
if get user information by id, get this result
with changed properties.
![enter image description here](https://i.stack.imgur.com/7OdK3.png)