Disks

Update an existing host disks definitions

Changed on
patch/disks/{hostName}

Request

  • Base URL
    https://quads.example.com/api/v3
  • URL
    https://quads.example.com/api/v3/disks/{hostName}
  • Auth
    HTTP bearer

Path parameters

hostNamestring required

Host name

Request body

disk_idinteger required
disk_typestring
size_gbinteger
countinteger

Example request

{
  "disk_id": 1,
  "disk_type": "nvme",
  "size_gb": 2000,
  "count": 10
}

Response

Disk details

disk_idinteger
disk_typestring
size_gbinteger
countinteger
host_idinteger

Example response

{
  "disk_id": 1,
  "disk_type": "nvme",
  "size_gb": 2000,
  "count": 10,
  "host_id": 10
}

Changes