I am looking for a way to delete the root folder "code_root" from the target gateway using GMU restman. When trying doing so it gives me the below error-
POLICY resource #f681af82df37e4ac5e5b91111111 could not be deleted. Caused by: Policy #f681af82df37e4ac5e5b2222222 (Some Service) cannot be deleted; it is referenced by Policy #871d8de5c15f0a4685c1a3333333
I can find the list of dependencies through restman call.
But what should be the good way forward to delete the folder.