Update Disk
PATCH
/disks/{id}Change the size of a disk.
Size should be in gibibytes (GiB) or tebibytes (TiB) in the format [Size][GiB|TiB]. E.g. 10GiB.
A successful response from this resource will contain the async operation.
Request
Path Params
id
string <uuid>
required
Disk id
Example:
aea44433-04a7-4733-b9de-4b10c3f7e740
Body Params application/json
size
string <[Size][GiB|TiB]>
required
New disk size in gibibytes (GiB) or tebibytes (TiB) in the format [Size][GiB|TiB]
Example
{
"size": "10GiB"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
operation
object
required
completed_at
string
required
metadata
object
required
operation_id
string
required
result
object
required
started_at
string
required
state
string
required
Example
{
"operation": {
"completed_at": "2021-12-03T19:59:34Z",
"metadata": {},
"operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
"result": {},
"started_at": "2021-12-03T19:58:34Z",
"state": "IN_PROGRESS"
}
}
Modified at 2 months ago