---
title: "Replace the invite list. Both arrays are the full intended state; `{}` clears it"
method: PUT
path: "/api/coach/scheduling/events/{id}/invitations"
tags: ["coach-scheduling"]
---

# Replace the invite list. Both arrays are the full intended state; \`{}\` clears it

`PUT /api/coach/scheduling/events/{id}/invitations`

## 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/coach/scheduling/events/{id}/invitations`
- Auth: HTTP bearer

## Path parameters

- `id` number, required

## Request body

- SetEventInvitationsDto
  - `userIds` number[]: User ids to invite individually.
  - `groupIds` number[]: Group ids to invite.

## Response `200`

## Changes

- **2026-09-12** `0d5ef02a4fbe`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/changes/api/coach/scheduling/events/:id/invitations/put.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)
