---
title: "Perform an action on a Virtual Machine"
method: POST
path: "/vm/{action}/:rid"
tags: ["VM"]
---

# Perform an action on a Virtual Machine

`POST /vm/{action}/:rid`

Perform a specified action (start, stop, reboot) on a virtual machine by its RID

## Path parameters

- `rid` string, required
- `action` string, required

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseAny
  - `data` unknown
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/alchemillahq/apis/sylve-api.md) · [All operations](https://skmtc.net/alchemillahq/apis/sylve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alchemillahq/sylve-api/versions/950e51f8af98/schema)
