We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b024844 + 586b6e4 commit ff8dcc7Copy full SHA for ff8dcc7
src/data/endpoints/volumes.yaml
@@ -218,3 +218,26 @@ endpoints:
218
python: |
219
v = linode.Volume(client, 123)
220
v.detach()
221
+ /volumes/$id/resize:
222
+ authenticated: true
223
+ description: >
224
+ Increase the size of a volume.
225
+ methods:
226
+ POST:
227
+ oauth: volumes:modify
228
229
+ Increase the size of a volume. You may not decrease the size of a volume
230
+ with this endpoint.
231
+ params:
232
+ size:
233
+ type: Integer
234
+ description: The new size of this volume.
235
+ value: 2000
236
+ examples:
237
+ curl: |
238
+ curl -H "Content-Type: application/json" \
239
+ -H "Authorization: token $TOKEN" \
240
+ -X POST -d '{
241
+ "size": 2000
242
+ }'
243
+ https://$api_root/$version/volumes/$volume_id/resize
0 commit comments