deleteDocument(path: string, creds: Credentials) {
        return this.withAuthorization()
            .pipe(flatMap(token =>
                this.httpClient.delete(
                    this.deleteDocumentUri + path,