---
title: "Toggle cacheless mode"
method: PATCH
path: "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle"
tags: ["Hosting: Cache"]
---

# Toggle cacheless mode

`PATCH /api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle`

Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing
is cached, effectively turning off all caching for the website; use it while actively developing,
testing changes, debugging issues, or when real-time updates must be visible. Disable it after
finishing development work to restore the performance benefits of caching.

## Path parameters

- `username` string, required
- `domain` string, required

## Request body

- HostingV1CacheToggleCachelessModeRequest
  - `enabled` boolean, required — Turn development (cacheless) mode on (true) or off (false) for the website.

## Response `200`

Success empty response

- CommonSuccessEmptyResource
  - `message` string

## Other responses

- `401` — Unauthenticated response
- `422` — Validation error response
- `500` — Error response

## Changes

> 88 revisions in range; 78 could not be searched.

- **2026-06-09** `d05574986eb1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/hostinger/apis/hostinger-api/changes/api/hosting/v1/accounts/:username/websites/:domain/cacheless-mode/toggle/patch.md)

---

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