As per documentation:
Get instance configurations
you can get all instace configurations including deleted ones by calling
api/v1/platform/configuration/instances?show_deleted=true
My question, when do deleted instance configurations get really deleted? It's kind of confusing that even the ones that are marked for deletion are still shown, when creating a Deployment Template