- undeployXapp(name: string): Observable<HttpResponse<Object>> {
- return this.httpClient.delete((this.basePath + '/xapps'+ '/' + name), { observe: 'response' });
+ undeployXapp(instanceKey: string, name: string): Observable<HttpResponse<Object>> {
+ const url = this.commonSvc.buildPath(instanceKey, this.component, 'xapps', name);
+ return this.httpClient.delete(url, { observe: 'response' });