Skip to main content
PUT
Extend Volume

Authorizations

Authorization
string
header
required

A Fly API token with access to the requested organization or resource. Send it as Authorization: Bearer <Fly API token>.

Path Parameters

app_name
string
required

Fly App Name

volume_id
string
required

Volume ID

Body

application/json

Request body

size_gb
integer

New size of the volume in GiB. Must be larger than the current size and at most the organization's maximum (500 by default).

Response

200 - application/json

OK

needs_restart
boolean

Whether the volume is attached to a running Machine that could not resize its filesystem while running. If true, restart the Machine for the filesystem to use the new size.

volume
object

The extended volume.