[Home](../README.md) > [HttpStorageService](./HttpStorageService.md) > createDirectory

## HttpStorageService.createDirectory() method

**Signature:**

```typescript
createDirectory(request: IStoragePathRequest): Promise<Result<IStorageTreeItem>>;
```

**Parameters:**

<table><thead><tr><th>Parameter</th><th>Type</th><th>Description</th></tr></thead>
<tbody>
<tr><td>request</td><td>IStoragePathRequest</td><td></td></tr>
</tbody></table>

**Returns:**

Promise&lt;Result&lt;[IStorageTreeItem](../interfaces/IStorageTreeItem.md)&gt;&gt;
