Bulk delete of Asset Group

Is there any possibilities to delete the Asset groups using restful api. Can you please share the script, if anyone has came across the same request.

You just use the DELETE Method on the URL with the Asset Group ID

https://help.rapid7.com/insightvm/en-us/api/index.html#operation/deleteAssetGroup

So what @brandon_mcclure shared will in fact delete the Asset Group.

However, I saw your reply in a separate thread talking about deleting assets. Please keep in mind that what @brandon_mcclure shared will only delete the Asset Group (a filtered search and grouping of the assets) but this will not delete the assets within that group from the console.

Can you specify exactly what it is that you’re trying to do? @Rocker_01