vRealize Lifecycle Manager – how to delete undeletable environment

Today, i was trying to install Vmware Identity Manager using LCM REST API and i realized that i can’t check request details:

But task was still visible in Recent Requests:

Unfortunately i couldn’t delete this request because of greyed out ‘Delete Environment’ option:)

So how to do that? Of course using REST API. Unfortunately you will not find such API call in official documentation or even in Swagger.

What you have to do is to use API DELETE request. First find ID of your create environment request in LCM

check status to be sure if this is the correct one:

and then just DELETE it: