Volume
Create volume
Creates a volume in Hyperstack that can be attached to a virtual machine, expanding its storage capacity. Specify the volume type and custom configuration in the request body. If you install an operating system on the volume using the image_id field, it becomes a bootable volume; the size must be at least 100 GB to accommodate the OS.
post/core/volumes
Request
- Base URL: https://infrahub-api.nexgencloud.com/v1
- URL: https://infrahub-api.nexgencloud.com/v1/core/volumes
- Auth: API key in header api_key
Request body
Response
Volume successfully created.
Example response
{
"status": true,
"message": "Volume created successfully",
"volume": {
"id": 7613,
"name": "example-volume",
"environment": {
"name": "example-environment",
"region": "NORWAY-1"
},
"description": "example",
"volume_type": "Cloud-SSD",
"size": 10,
"status": "creating",
"created_at": "2026-05-06T15:18:42Z",
"updated_at": "2026-05-06T15:18:42Z",
"attachments": [
{
"id": 2058,
"device": "/dev/disk/by-id/virtio-05ff4fce-957f-486c-b",
"status": "ATTACHING",
"instance_id": 1402
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.