---
title: "Toggle storage mount mirror"
method: POST
path: "/storage_mounts/mirrors-toggle"
tags: ["Document AI — Storage Mounts"]
---

# Toggle storage mount mirror

`POST /storage_mounts/mirrors-toggle`

## Request

- Base URL: `https://api.paperoffice.ai/latest`
- URL: `https://api.paperoffice.ai/latest/storage_mounts/mirrors-toggle`
- Auth: HTTP bearer

Enable or disable a storage mount mirror without deleting the configuration. Useful for temporary maintenance.

## Request body

- object
  - `mirror_id` integer, required: Mirror ID to toggle
  - `is_active` boolean, required: true/1 = active, false/0 = paused. Accepts true/false, 1/0, yes/no, on/off (JSON boolean or form string); other values return 400 INVALID_BOOLEAN. Unknown mirror_id returns 404 MIRROR_NOT_FOUND.

## Response `200`

Success

- SuccessEnvelope: Success envelope. Payload fields are endpoint-specific (top-level fields, `result`/`job_result` for jobs, `data` on some account endpoints).
  - `status` 'success', required
  - `processing_time` union
    - string
    - number
  - `_billing` object

## Other responses

- `4XX`: Error
- `5XX`: Error

---

[API](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api.md) · [All operations](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api/revisions/c6a6228a4509?raw)
