From 9618aed727eba7f2c8cfabe28730fc9914c80b17 Mon Sep 17 00:00:00 2001 From: TheDiaval Date: Tue, 30 Jul 2019 16:11:32 +0300 Subject: [PATCH] feat(tenant-management): add delete connection string method --- .../src/lib/services/tenant-management.service.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/npm/ng-packs/packages/tenant-management/src/lib/services/tenant-management.service.ts b/npm/ng-packs/packages/tenant-management/src/lib/services/tenant-management.service.ts index e01b635135..bacfa52fe2 100644 --- a/npm/ng-packs/packages/tenant-management/src/lib/services/tenant-management.service.ts +++ b/npm/ng-packs/packages/tenant-management/src/lib/services/tenant-management.service.ts @@ -80,4 +80,14 @@ export class TenantManagementService { }; return this.rest.request(request); } + + deleteDefaultConnectionString(id: string): Observable { + const url = `/api/multi-tenancy/tenant/${id}/defaultConnectionString`; + + const request: Rest.Request = { + method: 'DELETE', + url, + }; + return this.rest.request(request); + } }