Skip to main content
POST
Create Volume

Path Parameters

app_name
string
required

Fly App Name

Body

application/json

Request body

auto_backup_enabled
boolean

enable scheduled automatic snapshots. Defaults to true

compute
object
compute_image
string
encrypted
boolean
fstype
string
name
string
region
string
require_unique_zone
boolean
size_gb
integer
snapshot_id
string

restore from snapshot

snapshot_retention
integer
source_volume_id
string

fork from remote volume

unique_zone_app_wide
boolean

Response

200 - application/json

OK

attached_alloc_id
string
attached_machine_id
string
auto_backup_enabled
boolean
block_size
integer
blocks
integer
blocks_avail
integer
blocks_free
integer
bytes_total
integer
bytes_used
integer
created_at
string
encrypted
boolean
fstype
string
host_features
string[]
host_status
enum<string>
Available options:
ok,
unknown,
unreachable
id
string
name
string
region
string
required_host_features
string[]
size_gb
integer
snapshot_retention
integer
state
string
type
enum<string>
Available options:
local,
cache
zone
string