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

## Changes

- **2026-07-26** `749e76236673` — 1 info
  - added the required property `wasRestarted` to the response with the `200` status

[Change history](https://skmtc.dev/factory/apis/factory-public-api/changes/api/v0/computers/:computerId/restart/post.md)

---

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