---
title: "Create a folder."
method: POST
path: "/api/v2/cddrive/folders"
tags: ["CD Drive"]
---

# Create a folder.

`POST /api/v2/cddrive/folders`

Create a new folder in the customer's private CD Drive.

## Response `201`

The folder information.

- CDDriveFolder — A folder in the CD Drive that can contain other items such as files or folders.
  - `name` string, required — The name of the folder.
  - `parentId` integer, required — The ID of the parent folder or 0 for the root folder.
  - `id` integer, required — The ID of the folder.
  - `createdDate` string, date-time, required — The date and time the folder was created in ISO 8601 format.
  - `lastModifiedDate` string, date-time, required — The date and time the folder was last modified in ISO 8601 format. This may only represent a modification to to the folder metadata itself, not to the contents of the folder.

## Other responses

- `400` — The provided folder name is invalid.
- `403` — Authorization failed, username or password not found or incorrect.
- `404` — A parent id cannot be found.
- `409` — The folder already exists.

---

[API](https://skmtc.net/prss/apis/contentdepot.md) · [All operations](https://skmtc.net/prss/apis/contentdepot/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prss/contentdepot/versions/838e7ae589d8/schema)
