---
title: "Force stop CVM"
method: POST
path: "/api/v1/cvms/{cvm_id}/stop"
tags: ["CVMs"]
---

# Force stop CVM

`POST /api/v1/cvms/{cvm_id}/stop`

Immediately stops CVM (like pulling power). Cancels any in-progress operation. Triggers billing.

## Path parameters

- `cvm_id` string, required

## Response `200`

CVM record with stopping status

- VM
  - `id` integer, required
  - `name` string, required
  - `status` string, required
  - `teepod_id` integer, required
  - `teepod` TeepodMeta
    - `id` integer, required
    - `name` string, required
  - `user_id` integer, nullable
  - `app_id` string, required
  - `vm_uuid` string, nullable
  - `instance_id` string, nullable
  - `app_url` string, nullable
  - `base_image` string, nullable
  - `vcpu` integer, required
  - `memory` integer, required
  - `disk_size` integer, required
  - `manifest_version` integer, nullable
  - `version` string, nullable
  - `runner` string, nullable
  - `docker_compose_file` string, nullable
  - `features` string[], nullable
  - `created_at` string, date-time, required
  - `encrypted_env_pubkey` string, nullable

## Other responses

- `401` — Authentication required
- `403` — CVM managed by on-demand GPU rental
- `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)
