Remove managed account group from multiple access policies
POST/api/v1/AccessControlPolicy/RemoveManagedAccountGroupFromMultiplePolicies/:managedAccountGroupId
Removes the managed account group from every access policy in the list that exists, in one call. Ids that match no policy are ignored. Use it to withdraw access that the managed account group has through several policies at once.
Permission required: Administrator.
Caution: The change applies immediately and affects who can access resources through each listed policy.
Request
Responses
- 200
- 400
The change was made. The body is a short text message that says the group was removed from one policy or N policies, where N is the number of listed policies that exist, including ones where nothing needed to change.
No group or no policies were supplied, none of the listed ids is an existing policy, the managed account group does not exist, or the change failed.