Using Nexus API to delete components

I’m trying to work out a way of deleting several old components from Nexus via the API. The reason that we can’t apply a blanket ‘delete things older than X’ rule is that we have several components spread over Nexus that are no longer being developed (so the latest version is quite old), but we still rely on it being there.

That led me to looking at using the Nexus API to do the job. However, I seem to only be able to return results from the entire repository at once, rather than just return results from a specific folder within the repository. Has anybody done anything similar with Nexus? Or am I completely barking up the wrong tree?


I had the exact same problem, unfortunately you need to browse through all of it to find exactly which component it is that you are delete.