---
title: "Edit one imported past session — title, times, coach, group, links, description, recording (admin only)"
method: PATCH
path: "/api/admin/scheduling/past-events/{id}"
tags: ["admin-scheduling"]
---

# Edit one imported past session — title, times, coach, group, links, description, recording (admin only)

`PATCH /api/admin/scheduling/past-events/{id}`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/admin/scheduling/past-events/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` number, required

## Headers

- `x-client` string, required

## Request body

- EditPastEventDto
  - `category` 'workshop' | 'group_coaching' | 'community', required
  - `title` string, required
  - `subtitle` string
  - `description` string: Plain text. A blank line starts a new paragraph.
  - `startAt` string, required
  - `endAt` string, required
  - `coachId` number, required: Primary facilitator. Must be an active coach or admin.
  - `groupId` number: The cohort, for a group_coaching session.
  - `recordingUrl` string, required: Recording link (e.g. a Zoom share link).
  - `joinUrl` string: The meeting link the session used, if known.

## Response `200`

## Changes

- **2026-10-04** `adc88d55b476`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/changes/api/admin/scheduling/past-events/:id/patch.md)

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
