@DELETE @ApiIgnore // until documented
  @Path("{repositoryVersionId}")
  @Produces("text/plain")
  public Response deleteRepositoryVersion(@Context HttpHeaders headers, @Context UriInfo ui,
      @PathParam("repositoryVersionId") String repositoryVersionId) {
    return handleRequest(headers, null, ui, Request.Type.DELETE, createResource(repositoryVersionId));
  }
Deletes a repository version. Handles: DELETE /repository_versions/{repositoryVersionId} requests.

@param headers               http headers
@param ui                    uri info
@param repositoryVersionId   the repository version id
@return information regarding the deleted repository
ambari-server/src/main/java/org/apache/ambari/server/api/services/RepositoryVersionService.java