Skip to main content
POST
Create a disk

Authorizations

Authorization
string
header
required

API key authentication. API keys should be passed using the format Bearer API_KEY.

Path Parameters

projectId
string
required

Body

application/json

Create disk params

dataCenterId
string
required
id
string
required
sizeGib
integer<int32>
required
diskState
enum<string>
default:UNKNOWN
Available options:
UNKNOWN,
ATTACHED,
CLONING,
CREATING,
DELETING,
DISABLED,
FAILED,
READY,
UPDATING
diskType
enum<string>
default:DISK_TYPE_UNKNOWN
Available options:
DISK_TYPE_UNKNOWN,
DISK_TYPE_BOOT,
DISK_TYPE_STORAGE

Response

A successful response.

The response is of type object.