---
title: "Maintenance Mode"
method: PUT
path: "/sites/{id}/maintenance-mode"
tags: ["sites"]
---

# Maintenance Mode

`PUT /sites/{id}/maintenance-mode`

## Request

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

The "Maintenance Mode" feature offers a toggle to either enable or disable a protective mode for your website. Enabling it activates the Pressable Maintenance Mode plugin, which ensures your WP Admin remains accessible to you while displaying a Maintenance Mode screen to your site's visitors, thus barring them from interaction while you perform any needed updates or adjustments behind the scenes. Conversely, disabling it makes your website fully accessible and interactive for visitors, so it is vital to ensure all updates and changes are finalized for a seamless user experience before deactivating this mode.

## Path parameters

- `id` integer, required

## Request body

- object
  - `enabled` boolean

## Response `200`

Successful Response

- object
  - `message` string

---

[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)
