---
title: "Restart machine"
method: POST
path: "/api/v1/machines/restart"
tags: ["Machines"]
---

# Restart machine

`POST /api/v1/machines/restart`

## Request

- Base URL: `http://:8080`
- URL: `http://:8080/api/v1/machines/restart`
- Auth: none declared

Restart machine.

Auth: Required (bearer token).
Scope: Organization-scoped in authenticated context.
Side effects: May mutate server state.

## Headers

- `Accept` string

## Response `200`

OK

- MachineActionResponse: MachineActionResponse schema
  - `message` string
  - `status` string

## Other responses

- `400`: Bad Request _(validation or deserialization error)_
- `500`: Internal Server Error _(panics)_
- `default`

## Changes

- **2026-04-26** `09f18af670c4`: 3 info
  - api tag `Machines` added
  - api tag `api/v1/machines` removed
  - api tag `restart` removed
- **2026-04-18** `a16fedd4cd53`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nixopus/apis/nixopus-api/changes/api/v1/machines/restart/post.md)

---

[API](https://skmtc.dev/nixopus/apis/nixopus-api.md) - [All operations](https://skmtc.dev/nixopus/apis/nixopus-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nixopus/apis/nixopus-api/revisions/c5bacaea7239?raw)
