removeUserFromGroups

Remove a user from one or more groups within a domain.

Location

/services/webservices/system/admin/user/operations/

Request Elements

domainName: The domain name.

userName: The user name.

groupNames: List of groups to remove the user from.

Response Elements

N/A

Faults

NotAllowed: If the user cannot be updated as requested. For example, the group membership might not be updatable to omit the all group.

NotAllowed: If an attempt is made to use this operation with an insufficient license.

NotFound: If the domain does not exist.

NotFound: If the user does not exist.

NotFound: If any of the provided groups do not exist.

Security: If the user does not have the ACCESS_TOOLS and MODIFY_ALL_USERS rights.