diff --git a/lib/config/global.ts b/lib/config/global.ts
index 23eae864f9787ef54af65c0e89f2b8ec74795bef..ea336e2578104f24a2966168a2426738301bd9f8 100644
--- a/lib/config/global.ts
+++ b/lib/config/global.ts
@@ -23,7 +23,6 @@ export class GlobalConfig {
     'privateKey',
     'privateKeyOld',
     'gitTimeout',
-    'endpoint',
   ];
 
   private static config: RepoGlobalConfig = {};
diff --git a/lib/config/types.ts b/lib/config/types.ts
index 4c70d89b68bf316b211016fa27bc974dc3c60e0d..739c606e32a55585bf64d589bfcff9e3c7615e3e 100644
--- a/lib/config/types.ts
+++ b/lib/config/types.ts
@@ -95,7 +95,6 @@ export interface GlobalOnlyConfig {
   privateKeyPathOld?: string;
   redisUrl?: string;
   repositories?: RenovateRepository[];
-  endpoint?: string;
 }
 
 // Config options used within the repository worker, but not user configurable
@@ -121,7 +120,6 @@ export interface RepoGlobalConfig {
   privateKeyOld?: string;
   localDir?: string;
   cacheDir?: string;
-  endpoint?: string;
 }
 
 export interface LegacyAdminConfig {
diff --git a/lib/workers/repository/index.spec.ts b/lib/workers/repository/index.spec.ts
index f2f0f982a151bf00dea181500d958b1d57a49134..67f5578a2795e9a3ec7704abe74ab1fbd799807b 100644
--- a/lib/workers/repository/index.spec.ts
+++ b/lib/workers/repository/index.spec.ts
@@ -19,6 +19,7 @@ describe('workers/repository/index', () => {
 
     beforeEach(() => {
       config = getConfig();
+      GlobalConfig.set({ localDir: '' });
     });
 
     it('runs', async () => {
@@ -26,15 +27,5 @@ describe('workers/repository/index', () => {
       const res = await renovateRepository(config);
       expect(res).toBeUndefined();
     });
-
-    it('shows endpoint', async () => {
-      process.extractDependencies.mockResolvedValue(mock<ExtractResult>());
-      const res = await renovateRepository({
-        ...config,
-        endpoint: 'https://github.com',
-      });
-      expect(GlobalConfig.get().endpoint).toBe('https://github.com');
-      expect(res).toBeUndefined();
-    });
   });
 });