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

# Restart Machine

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

Restart a specific Machine within an app, with an optional timeout parameter.

## Path parameters

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

## Query parameters

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

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