Acontext
Disk

Create disk

POST
/disk

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

Authorization

BearerAuth
Authorization<token>

Project Bearer token (e.g., "Bearer sk-ac-xxxx")

In: header

Request Body

application/json

CreateDisk payload

TypeScript Definitions

Use the request body type in TypeScript.

user?string

Response Body

application/json

curl -X POST "https://loading/api/v1/disk" \  -H "Content-Type: application/json" \  -d '{}'
{
  "code": 0,
  "error": "string",
  "msg": "string",
  "data": {
    "created_at": "string",
    "id": "string",
    "project_id": "string",
    "updated_at": "string",
    "user_id": "string"
  }
}