@DELETE
   @Path("{userName}")
   @Produces("text/plain")
   @ApiOperation(value = "Delete group member", nickname = "MemberService#deleteMember", notes = "Delete member resource.")
   @ApiResponses(value = {
     @ApiResponse(code = 200, message = "Successful operation"),
     @ApiResponse(code = 500, message = "Server Error")}
   )
   public Response deleteMember(@Context HttpHeaders headers, @Context UriInfo ui, @ApiParam(value = "group name", required = true) @PathParam("groupName") String groupName,
                                @ApiParam(value = "user name", required = true) @PathParam("userName") String userName) {
     return handleRequest(headers, null, ui, Request.Type.DELETE, createMemberResource(groupName, userName));
   }
Deletes a member.
Handles:  DELETE /groups/{groupname}/members/{username} requests.

@param headers      http headers
@param ui           uri info
@param groupName    group name
@param userName     the user name
@return information regarding the deleted group
ambari-server/src/main/java/org/apache/ambari/server/api/services/groups/MemberService.java