---
title: "Reclaim Machine Memory"
method: POST
path: "/apps/{app_name}/machines/{machine_id}/memory/reclaim"
tags: ["Machines"]
---

# Reclaim Machine Memory

`POST /apps/{app_name}/machines/{machine_id}/memory/reclaim`

Trigger the balloon device to reclaim memory from a machine

## Path parameters

- `app_name` string, required
- `machine_id` string, required

## Request body

- MainReclaimMemoryRequest
  - `amount_mb` integer

## Response `200`

OK

- MainReclaimMemoryResponse
  - `actual_mb` integer

---

[API](https://skmtc.dev/fly/apis/machines-api.md) · [All operations](https://skmtc.dev/fly/apis/machines-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fly/machines-api/revisions/f5ad396d55d7/schema)
