Machines
Set Machine Memory Limit
Set the memory limit for a machine using the balloon device
Set the memory limit for a machine using the balloon device
Authorization
bearerAuth AuthorizationBearer <token>
A Fly.io access token. Create one with fly tokens create.
In: header
Path Parameters
app_name*string
Fly App Name
machine_id*string
Machine ID
Request Body
application/json
Set memory limit request
limit_mb?integer
Response Body
application/json
curl -X PUT "https://example.com/apps/string/machines/string/memory" \ -H "Content-Type: application/json" \ -d '{}'{ "available_mb": 0, "limit_mb": 0}