private void deleteAsset(String id) throws IOException, RequestFailureException {
        HttpURLConnection connection = createHttpURLConnectionToMassive("/assets/"
                                                                        + id);
        connection.setRequestMethod("DELETE");
        testResponseCode(connection, true);
    }
private void deleteAsset ( String id ) throws IOException , RequestFailureException { HttpURLConnection connection = createHttpURLConnectionToMassive ( "/assets/" + id ) ; connection . setRequestMethod ( "DELETE" ) ; testResponseCode ( connection , true ) ; }
Deletes an asset with the given ID. Note, this will not delete any
attachments associated with the asset.

@see #deleteAssetAndAttachments(String)
@param id
The ID to delete
@return <code>true</code> if the delete is successful
@throws IOException
@throws RequestFailureException