---
title: "Implements the operation to restart a virtual machine."
method: POST
path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/restart"
tags: ["VirtualMachineInstances"]
---

# Implements the operation to restart a virtual machine.

`POST /{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/restart`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/restart`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

The operation to restart a virtual machine instance.

## Path parameters

- `resourceUri` string, required

## Parameters

- `../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` (unresolved $ref)

## Response `202`

Resource operation accepted.

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-07-13** (2020-06-05-preview) `e31264ae6b38`: 1 breaking
  - api path removed without deprecation
- **2026-07-13** (2020-06-05-preview) `d6b94b29323c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/scvmm-microsoft-scvmm/changes/:resourceUri/providers/Microsoft.ScVmm/virtualMachineInstances/default/restart/post.md)

---

[API](https://skmtc.dev/azure/apis/scvmm-microsoft-scvmm.md) - [All operations](https://skmtc.dev/azure/apis/scvmm-microsoft-scvmm/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/scvmm-microsoft-scvmm/revisions/2cc656a4c500?raw)
