Closed zliang-akamai closed 4 months ago
The API seems to only support updating the label of a disk in the Disk Update endpoint (PUT /linode/instances/{linodeId}/disks/{diskId})
PUT
/linode/instances/{linodeId}/disks/{diskId}
https://www.linode.com/docs/api/linode-instances/#disk-update__request-body-schema
myusername@mylaptop mydir % curl -H "Content-Type: application/json" \ -H "Authorization: Bearer $TOKEN" \ -X PUT -d '{ "size": 25087 }' \ https://api.linode.com/v4/linode/instances/12345/disks/67890 {"errors": [{"reason": "size is not an editable field.", "field": "size"}]}
The API seems to only support updating the label of a disk in the Disk Update endpoint (
PUT
/linode/instances/{linodeId}/disks/{diskId}
)https://www.linode.com/docs/api/linode-instances/#disk-update__request-body-schema