Skip to main content

Remove users and groups from a collection

PUT 

/api/v1/UserAndGroupCollection/RemoveUserAndGroup/:userAndGroupCollectionId

Removes members from a collection. List the members to remove, or set all to true to remove every member, optionally narrowed by filterText and entityType.

Permission required: Admin role, and a sign-in that has passed multi-factor authentication.

Values for entityType: 0 = ManagedAccount, 1 = ManagedAccountGroup, 2 = Application, 3 = Collection, 4 = Local.

Request​

Responses​

A number. When all is true with no filterText or entityType, the value is -1. When all is true with a filter, it is the number of matching members. When you list members, it is the number of entries you sent, whether or not each one was a member.