---
title: "Stop Machine"
method: POST
path: "/apps/{app_name}/machines/{machine_id}/stop"
tags: ["Machines"]
---

# Stop Machine

`POST /apps/{app_name}/machines/{machine_id}/stop`

Stop a specific Machine within an app, with an optional request body to specify signal and timeout.

## Path parameters

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

## Request body

- StopRequest
  - `signal` 'SIGHUP' | 'SIGINT' | 'SIGQUIT' | 'SIGKILL' | 'SIGUSR1' | 'SIGUSR2' | 'SIGTERM'
  - `timeout` string

## Response `200`

OK

## Other responses

- `400` — Bad Request

---

[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)
