---
title: "Restart a managed computer"
method: POST
path: "/api/v0/computers/{computerId}/restart"
tags: ["Computers"]
---

# Restart a managed computer

`POST /api/v0/computers/{computerId}/restart`

Ensures an active managed computer is running, resuming it if necessary. Computers that are already running are left untouched and reported with `wasRestarted: false`. Not supported for BYOM computers.

## Path parameters

- `computerId` string, required — Computer ID

## Response `200`

Response for status 200

- RestartComputer200ResponseBody
  - `wasRestarted` boolean, required

## Other responses

- `400` — Response for status 400
- `401` — Response for status 401
- `402` — Response for status 402
- `403` — Response for status 403
- `404` — Response for status 404
- `500` — Response for status 500

---

[API](https://skmtc.net/factory/apis/factory-public-api.md) · [All operations](https://skmtc.net/factory/apis/factory-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/factory/factory-public-api/versions/684f94d47ca9/schema)
