code: public void deletePackage(Object projectIdOrPath, Integer packageId) throws GitLabApiException {
  
          if (packageId == null) {
              throw new RuntimeException("packageId cannot be null");
          }
  
          delete(Response.Status.NO_CONTENT, null,"projects", getProjectIdOrPath(projectIdOrPath), "packages", packageId);
      }
docs: Deletes a project package.
  
  <pre><code>GitLab Endpoint: DELETE /projects/:id/packages/:package_id</code></pre>
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param packageId the ID of the package to delete
  @throws GitLabApiException if any exception occurs