---
title: "Don't email me about screens going offline at night"
method: PUT
path: "/v1/workspace/offline-alerts"
tags: ["Workspaces"]
---

# Don't email me about screens going offline at night

`PUT /v1/workspace/offline-alerts`

## Request

- Base URL: `https://infoslides.app`
- URL: `https://infoslides.app/v1/workspace/offline-alerts`
- Auth: none declared

Sets the workspace's quiet hours for offline alert emails: `{"quietHours": {"start": "22:00", "end": "07:00"}}` for "don't email me about screens at night", `{"quietHours": null}` to alert at any hour. Screens with their own quiet hours keep them. Returns the same shape as `GET`. Workspace admins only.

## Headers

- `Idempotency-Key` string

## Request body

- V1WorkspaceOfflineAlertsRequest
  - `quietHours` V1TimeWindow
    - `start` string, nullable
    - `end` string, nullable

## Response `200`

OK

---

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