---
title: "Delete a VM"
method: DELETE
path: "/{org_slug}/vms/{id}"
tags: ["VMs"]
---

# Delete a VM

`DELETE /{org_slug}/vms/{id}`

## Request

- Base URL: `https://api.obelinf.com`
- URL: `https://api.obelinf.com/{org_slug}/vms/{id}`
- Auth: HTTP bearer

Delete a VM

## Path parameters

- `org_slug` string, required
- `id` string, required

## Response `200`

VM deleted

- object
  - `ok` unknown, required

## Other responses

- `404`: Not found
- `409`: Conflict - has children

---

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