public async Task <IActionResult> Delete(string path, CancellationToken token) { DocumentId documentId = DocumentIdTools.FromUrlEncoding(path); bool status = await _directoryService.Delete(documentId, token); return(status ? Ok() : NotFound()); }