Refine api and remove aliases for deployments and blueprints