1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
UpdateUser does not support nested/targeted replace of complex or list attributes. So in this case, we’ll need to provide a List of emails. Something like:
input.json
{
"IdentityStoreId": "d-1234567890",
"UserId": "uid",
"Operations": [
{
"AttributePath": "emails",
"AttributeValue": [{
"value": "testemail@gmail.com",
"type": "work",
"primary": true
}]
}
]
}
$ aws identitystore update-user --cli-input-json file://input.json --region us-east-1
Relevant content
- asked 2 years ago
- asked 2 years ago
- asked a year ago
- asked 2 years ago

Can the update_user endpoint toggle the user Enabled/Disabled status somehow?