LogoFreestyle
API ReferenceVm

Resize_vm

Resize VM

POST
/v1/vms/{id}/resize

Path Parameters

id*string

Request Body

application/json

sizeMb*integer
Formatint64
Range0 <= value

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.freestyle.sh/v1/vms/string/resize" \  -H "Content-Type: application/json" \  -d '{    "sizeMb": 0  }'
{
  "size_mb": 0
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}

Freestyle AI

Documentation assistant

Experimental: AI responses may not always be accurate—please verify important details with the official documentation.

How can I help?

Ask me about Freestyle while you browse the docs.