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

# Implements the operation to stop a virtual machine.

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

The operation to power off (stop) a virtual machine instance.

## Path parameters

- `resourceUri` string, required

## Parameters

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

## Request body

- StopVirtualMachineOptions — Defines the stop action properties.
  - `skipShutdown` 'true' | 'false' — Gets or sets a value indicating whether to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Defaults to false.

## Response `202`

Resource operation accepted.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/scvmm-microsoft-scvmm.md) · [All operations](https://skmtc.net/azure/apis/scvmm-microsoft-scvmm/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/scvmm-microsoft-scvmm/revisions/2cc656a4c500/schema)
