public Response delete(String path, Map<String, String> headers) throws IOException, RESTException {
        return parseResponse(getHttpResponse(new HttpDelete(baseUrl + path), headers));
    }
public Response delete ( String path , Map < String , String > headers ) throws IOException , RESTException { return parseResponse ( getHttpResponse ( new HttpDelete ( baseUrl + path ) , headers ) ) ; }
Performs DELETE request.

@param path    Request path.
@param headers Map of HTTP request headers.
@throws IOException   If error during HTTP connection or entity parsing occurs.
@throws RESTException If HTTP response code is non OK.