---
title: "Create Folder"
method: POST
path: "/api/assets/createNewFolder"
tags: ["Assets"]
---

# Create Folder

`POST /api/assets/createNewFolder`

## Request body

- CreateNewFolderDto
  - `source` string, required — The source path where the directory will be created
  - `name` string, required — Name for the new directory

## Response `200`

Folder created successfully.

## Other responses

- `400` — Failed to create Folder.

---

[API](https://skmtc.net/openwebgal/apis/webgal-terre-api.md) · [All operations](https://skmtc.net/openwebgal/apis/webgal-terre-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openwebgal/webgal-terre-api/versions/ebcacb42f932/schema)
