---
title: "Set the school-wide time-of-day window during which teachers may start a class session"
method: PUT
path: "/team-management/class-session-window"
tags: ["team-management"]
---

# Set the school-wide time-of-day window during which teachers may start a class session

`PUT /team-management/class-session-window`

## Request

- Base URL: `https://api.focusbear.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.focusbear.io/team-management/class-session-window`
- Auth: HTTP bearer

## Request body

- UpdateClassSessionWindowDto
  - `team_id` string, uuid, required
  - `window_start` string, required
  - `window_end` string, required

## Response `200`

Window updated

## Other responses

- `400`: Invalid window (bad HH:mm or start >= end), or team is not a school
- `401`: Caller is not an admin of the team

---

[API](https://skmtc.dev/focusbear/apis/focusbear-api.md) - [All operations](https://skmtc.dev/focusbear/apis/focusbear-api/llms.txt) - [OpenAPI document](https://skmtc.dev/focusbear/apis/focusbear-api/revisions/3a83a3b9a811?raw)
