---
title: "Create directory"
method: PUT
path: "/system/dir"
tags: ["system"]
---

# Create directory

`PUT /system/dir`

Creates a directory at the specified path, including any necessary parent directories.

## Request body

- CreateDirRequest
  - `path` string, required — Absolute filesystem path of the directory to create.

## Response `200`

Directory created.

---

[API](https://skmtc.dev/siafoundation/apis/hostd-api.md) · [All operations](https://skmtc.dev/siafoundation/apis/hostd-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/siafoundation/hostd-api/revisions/08ff756929fc/schema)
