---
title: "Toggle Light Weight 404"
method: PUT
path: "/sites/{id}/light_weight_404"
tags: ["sites"]
---

# Toggle Light Weight 404

`PUT /sites/{id}/light_weight_404`

## Request

- Base URL: `https://my.pressable.com/v1`
- URL: `https://my.pressable.com/v1/sites/{id}/light_weight_404`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/docs/sites/:id/light_weight_404/put.ts> (a function with typed inputs; its response is checked against the schema)

Enable or Disable Light Weight 404 handling for a site with the specified id.

## Path parameters

- `id` integer, required

## Request body

- object
  - `enabled` boolean

## Response `200`

Successful Response

- object
  - `message` string
  - `data` object

---

[API](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1.md) - [All operations](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/revisions/267a95219f47?raw)
