---
title: "Idempotently disable scale to zero on this VM."
method: POST
path: "/scaletozero/disable"
---

# Idempotently disable scale to zero on this VM.

`POST /scaletozero/disable`

Prevents the VM from scaling to zero, regardless of HTTP traffic on it. Calling the API on this VM will wake it because Unikraft will automatically wake for any request to the VM.

## Response `204`

Scale-to-zero disabled

## Other responses

- `500` — Internal Server Error

## Changes

> 52 revisions in range; 4 could not be searched.

- **2026-05-12** `8478c9566a10` — 1 info
  - endpoint added
- **2025-06-27** `f980a92ab23f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kernel/apis/kernel-images-api/changes/scaletozero/disable/post.md)

---

[API](https://skmtc.dev/kernel/apis/kernel-images-api.md) · [All operations](https://skmtc.dev/kernel/apis/kernel-images-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kernel/kernel-images-api/revisions/7a641fa15a85/schema)
