Add managed account group to multiple access policies
POST/api/v1/AccessControlPolicy/AddManagedAccountGroupToMultiplePolicies/:managedAccountGroupId
Adds the managed account group to every access policy in the list that exists, in one call. Ids that match no policy are ignored. Use it to give the managed account group access 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 call finished. The body is a short text message that says the group was added to one policy or N policies, where N is the number of listed policies that exist, including ones where nothing needed to change. An unknown group id also returns this message, and nothing is added.
No group or no policies were supplied, none of the listed ids is an existing policy, or the change failed.