Skip to main content

Remove managed account from multiple access policies

POST 

/api/v1/AccessControlPolicy/RemoveManagedAccountFromMultiplePolicies/:managedAccountId

Removes the managed account 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 has through several policies at once.

Permission required: Administrator.

Caution: In this release, removing an account from a policy fails: whenever at least one listed id is an existing policy, the call returns 400 and the account is not removed. When the change succeeds, it applies immediately and affects who can access resources through each listed policy.

Request​

Responses​

The change was made. The body is a short text message that says the account 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.