I previously used this to map roles:
{
"memberMappings": [
{
"roleId": "1cddabf7fdaa47d6833454af10e0a3ef",
"members": [
{
"type": "USER",
"userOrGroupName": "user-owner"
}
]
}
]
}
I used it for adding groups to earlier roles and would like to remap those groups to new roles. I’ve been able to do that but not able to remove the old mappings so users in groups are now in two roles.
I’ve tried to set “userOrGroupName”: to “” and None but neither of those work.