post https://api.linode.com//linode/instances//disks//resize
Resizes a Disk you have permission to read_write
.
The Disk must not be in use. If the Disk is in use, the request will succeed but the resize will ultimately fail. For a request to succeed, the Linode must be shut down prior to resizing the Disk, or the Disk must not be assigned to the Linode's active Configuration Profile.
If you are resizing the Disk to a smaller size, it cannot be made smaller than what is required by the total size of the files current on the Disk.
linode-cli linodes disk-resize 123 25674 \
--size 2048
<https://www.linode.com/docs/products/tools/cli/get-started/>
linodes:read_write
<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>