@DELETE @ApiIgnore // until documented
  @Path("{viewName}")
  @Produces(MediaType.TEXT_PLAIN)
  public Response deleteView(@Context HttpHeaders headers, @Context UriInfo ui,
                             @ApiParam(value = "view name", required = true) @PathParam("viewName") String viewName) {

    return handleRequest(headers, null, ui, Request.Type.DELETE, createViewResource(viewName));
  }
Handles: DELETE /views/{viewID}
Delete a specific view.

@param headers   http headers
@param ui        uri info
@param viewName  view id

@return information regarding the deleted view
ambari-server/src/main/java/org/apache/ambari/server/api/services/views/ViewService.java