---
title: "corestack_maintenance_window_clear"
url: https://docs.corefinity.com/mcp/tools/corestack_maintenance_window_clear
type: tool
last_updated: 2026-11-13
feature: maintenance-windows
related:
  - https://docs.corefinity.com/api/reference/site-settings/delete-site-maintenance-window.md
  - https://docs.corefinity.com/guides/sites/site-settings/maintenance-window.md
---
# corestack_maintenance_window_clear

**Clear a site's maintenance window.** Clears a site's own maintenance window: the site goes back to the window it inherits (its cluster's, your company's or the platform default). Answers the window now in force and restamped. Scope: write.

- Scope: `write`
- Runs as a task: no

## When to use it

Clear a site's own maintenance window: the site goes back to the window it inherits (its CoreCluster's, your company's or the platform default). Answers the window now in force and `restamped`.

## Inputs

- `site_id` (integer, required).

### Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "site_id": {
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "site_id"
  ],
  "type": "object"
}
```

## Refusals

- `managed_elsewhere` (message: "This site is managed by another control panel"): another control panel manages this site, so use that control panel for it. This is refused before anything else about the site, as in the Control Panel and the API. Nothing was done.
- The refusals every tool can answer: `invalid_arguments`, `tenant_mismatch`, `scope_required`, `pin_refused`, `rate_limited`, `temporarily_unavailable`, `internal_error` (corestack://guides/how-this-server-works).
- `window_scope_unavailable`: an environment row.
- `batch_applying`: maintenance is running on one of the site's rows now.
- `window_locked`: Corefinity set this window (it cannot be changed here; ask support).
- `throttled`: too many window changes in the last hour; try again later (`retry_after_seconds` when known).

## Example

```json
{
  "name": "corestack_maintenance_window_clear",
  "arguments": {
    "site_id": 74
  }
}
```

## Prompt

```text
Using the Corefinity MCP server, call corestack_maintenance_window_clear with site_id 74. (Clear a site's maintenance window.) Tell me what it returned.
```

## The same task elsewhere

- Endpoint: [DELETE /api/corestack/sites/{site}/maintenance-window](https://docs.corefinity.com/api/reference/site-settings/delete-site-maintenance-window.md)
- Guide: [Maintenance window](https://docs.corefinity.com/guides/sites/site-settings/maintenance-window.md)
