Skip to main content
POST
Create Disk
Create a new disk in a project.

Required Parameters

  • name: Disk name
  • size: Size in GiB or TiB (e.g., “10GiB”)
  • location: Deployment location

Optional Parameters

  • block_size: Block size in bytes (512 or 4096)
  • type: Disk type (“persistent-ssd” or “shared-volume”)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Project id

Body

application/json
name
string
required

Disk name

size
string
required

Disk size in gibibytes (GiB) or tebibytes (TiB) in the format [Size][GiB|TiB]

location
string
required

Location

block_size
integer<int64>

Block size in bytes 512 or 4096

type
enum<string>
default:persistent-ssd

Disk type

Available options:
persistent-ssd,
shared-volume

Response

200 - application/json
operation
object
required