Question
Specify Hard drive size using the API
Greetings all, when using the API to resize a droplet, how can you specify the hard drive size you want? I do see in the documentation that you set disk to true, but don’t see you can specify the size of the disk. To give my scenario, we have some droplets still on the old standards of 512mb of memory and 20GB hard drives. If i set the slug size to s-1vcpu-1gb and disk to true, the memory is upgraded from the old basic standard of 512 but the hard drive remains at 20GB. Thanks in advance.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×