@PUT
  @Produces("text/plain")
  @ApiOperation(value = "Update group members", nickname = "MemberService#updateMembers", notes = "Updates group member resources.", responseContainer = "List")
  @ApiImplicitParams({
    @ApiImplicitParam(name = "body", value = "input parameters in json form", required = true, dataType = "org.apache.ambari.server.controller.MemberRequest", paramType = "body")
  })
  @ApiResponses(value = {
    @ApiResponse(code = 200, message = "Successful operation"),
    @ApiResponse(code = 500, message = "Server Error")}
  )
  public Response updateMembers(String body, @Context HttpHeaders headers, @Context UriInfo ui, @ApiParam(value = "group name", required = true)
                                 @PathParam("groupName") String groupName) {
    return handleRequest(headers, body, ui, Request.Type.PUT, createMemberResource(groupName, null));
  }
Updates all members.
Handles: PUT /groups/{groupname}/members requests.

@param headers    http headers
@param ui         uri info
@param groupName    group name
@return status of the request
ambari-server/src/main/java/org/apache/ambari/server/api/services/groups/MemberService.java