def METHOD_NAME(lce, name):
    """Create lifecycle environment and then delete it.
    :id: cd5a97ca-c1e8-41c7-8d6b-f908916b24e1
    :expectedresults: Lifecycle environment is deleted successfully
    :CaseImportance: Critical
    :parametrized: yes
    """
    lce.delete()
    with pytest.raises(HTTPError):
        entities.LifecycleEnvironment(id=lce.id).read()