ApiVolumes
POST /v1/volumes/{id}/resize
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Header Parameters
Idempotency-Key?string
Length
8 <= length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/volumes/string/resize" \ -H "Content-Type: application/json" \ -d '{ "size_gb": 1 }'{ "id": "string", "size_gb": 0}Empty
{ "error": "string", "code": "volume_capacity_above_max", "requested_gib": 1, "max_gib": 1, "unit": "GiB"}