blackducksoftware / hub-rest-api-python

HUB REST API Python bindings
Apache License 2.0
89 stars 104 forks source link

How to unmap scans while deleting a project version with the Client API #270

Closed mgcemerson closed 3 months ago

mgcemerson commented 3 months ago

I am attempting to move away from the HubInstance API to the Client API but I'm unable to figure out how to do something.

The old HubInstance() API has a method called delete_project_version_by_name. It can be called with an argument of save_scans=0, which deletes any scans connected to the project version. Is there a way to delete the unmapped scans via the Client API?

mgcemerson commented 3 months ago

I figured it out. Let's close this.