---
title: "Soft-archive a class (hidden from lists, reversible; data retained). 409 if a session is live."
method: POST
path: "/class-management/classes/{teamId}/archive"
tags: ["class-management"]
---

# Soft-archive a class (hidden from lists, reversible; data retained). 409 if a session is live.

`POST /class-management/classes/{teamId}/archive`

## 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/class-management/classes/{teamId}/archive`
- Auth: HTTP bearer

## Path parameters

- `teamId` string, uuid, required

## Response `201`

- object

---

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