---
title: "Delete CVM"
method: DELETE
path: "/api/v1/cvms/{cvm_id}"
tags: ["CVMs"]
---

# Delete CVM

`DELETE /api/v1/cvms/{cvm_id}`

Stops and permanently deletes CVM. Data is not recoverable.

## Path parameters

- `cvm_id` string, required

## Response `204`

Deletion initiated

## Other responses

- `401` — Authentication required
- `403` — CVM not in workspace
- `404` — CVM not found
- `422` — Validation Error

---

[API](https://skmtc.net/phala/apis/phala-cloud-api.md) · [All operations](https://skmtc.net/phala/apis/phala-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/phala/phala-cloud-api/versions/83c6ae62e860/schema)
