AnsweredAssumed Answered

Is it possible to quickly delete a directory with its contents?

Question asked by Marek Kaszycki on Sep 18, 2018
Latest reply on Nov 8, 2018 by Ben Clifford

In HCP, is there a way to quickly delete a non-empty directory in a namespace, or even delete all data in a namespace? Recursive delete through HCP data migrator is failing with 6 million objects.

Trying to delete a non-empty directory through REST returns error code 400: Bad Request.

 

If it's impossible to delete such a directory, it can be recursive, just not prone to locking up like HCP data migrator is. Preferably through REST API or through the HCP management web page, or maybe even through HCP data migrator, if there is a way to delete the data quicker

Outcomes