---
title: "Create disk"
method: POST
path: "/disk"
tags: ["disk"]
---

# Create disk

`POST /disk`

Create a disk group under a project. Optionally associate with a user identifier.

## Request body

- HandlerCreateDiskReq
  - `user` string

## Response `201`

Created

- object
  - `code` integer
  - `error` string
  - `msg` string
  - `data` ModelDisk
    - `created_at` string
    - `id` string
    - `project_id` string
    - `updated_at` string
    - `user_id` string

---

[API](https://skmtc.dev/memodb-io/apis/acontext-api.md) · [All operations](https://skmtc.dev/memodb-io/apis/acontext-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/memodb-io/acontext-api/revisions/c8775333b1ed/schema)
