def METHOD_NAME(legacy_config_path):
    assert LegacyUbuntuOne.has_legacy_credentials() is True
    client = LegacyUbuntuOne(
        base_url="",
        storage_base_url="",
        auth_url="",
        endpoints=craft_store.endpoints.U1_SNAP_STORE,
        application_name="snapcraft",
        user_agent="",
    )
    client.logout()
    assert legacy_config_path.exists() is False