v1

latestOpenAPI 3.0.02026-07-26258182277.4 KB
VPS

Creates a new Volume

Warning: This endpoint incurs charges. The volume will be billed monthly regardless of attached device's billing cycle length.

post/vps/volume

Headers

X-Fieldsstring mask

An optional fields mask

Request body

deviceIdinteger required

Device ID to attach the disk to

sizeinteger required

Disk size in GiB

Response

Success

clientIdinteger

Unique ID of the client triggering the task.

deviceIdinteger

Unique ID of the target device.

metaDatastring

Key value arguments used to trigger the task.

resultstring

Success|Pending|Failed. Null value also means Pending.

taskCreatedobject

Timestamp of task creation date.

taskIdstring

Unique ID of the network task.

taskUpdatedobject

Timestamp of most recent activity taken on the network task. This will update multiple times for multi-step tasks.