Delete deployment


How can I delete a inactive deployment? I was trying to deploy my application but the deploy failed (because the app wasn’t supported), so I deployed using another site.
My repository ended up having two environments, one “pending” and the other “active”. I had to make my repository public to delete the pending environment, but it is still there as “inactive”.

How can I completely delete the inactive environment/deployment and it’s pending checks?