Closed timekillerj closed 3 years ago
Updates the body payload for the Update User Role endpoint.
Update User Role endpoint was missing some parameters.
Old:
{ "accountGroupIds":["ACCOUNT_GROUP_ID"], "name":"ROLE_NAME", "description":"Role Description", "roleType":"PERMISSION_GROUP_NAME", "restrictDismissalAccess":false, "additionalAttributes": {"onlyAllowCIAccess":false, "onlyAllowComputeAccess":false} }
New:
{ "name": "ROLE_NAME", "description": "Role Description", "roleType": "PERMISSION_GROUP_NAME", "accountGroupIds": ["ACCOUNT_GROUP_ID"], "resourceListIds": ["RESOURCE_LIST_IDS"], "associatedUsers": ["ASSOCIATED_USERS"], "restrictDismissalAccess": false, "additionalAttributes": { "onlyAllowCIAccess": false, "onlyAllowComputeAccess": false, "hasDefenderPermissions": false, "onlyAllowReadAccess": false } }
Description
Updates the body payload for the Update User Role endpoint.
Motivation and Context
Update User Role endpoint was missing some parameters.
Old:
New:
Types of changes
Checklist