# Update an event

`POST /onair.event.update`

## Description

Updates an existing On-Air event. Only the fields provided in the request body
are updated; omitted fields remain unchanged.

**Access:** Organization and Personal.

**Required scope:** `onair:write`

---

**OpenAPI Spec:** [onair.json](https://developer.ro.am/onair.json)

## Authentication

```
Authorization: Bearer YOUR_API_KEY
```

## Request Body

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | string | Yes | Identifier of the event to update. |
| `title` | string | No | Updated title of the event. |
| `description` | string | No | Updated description of the event. |
| `start` | string | No | Updated start time (RFC 3339). |
| `end` | string | No | Updated end time (RFC 3339). |
| `timeZone` | string | No | Updated IANA time zone identifier (e.g. `America/New_York`). |
| `enableSEO` | boolean | No | Whether the event page is indexed by search engines. |
| `autoAdmit` | boolean | No | Whether guests are automatically admitted when they join. |
| `calendarHostEmail` | string | No | Updated email of the calendar host. |
| `disableRSVP` | boolean | No | Whether RSVPs are disabled for this event. |
| `hosts` | object[] | No | Updated list of display hosts shown on the event page (maximum 6). Replaces all existing display hosts. |

**hosts** (array item):

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | string | No | Display name of the host. |
| `imageUrl` | string | No | URL of the host's profile image. From API version `2026-08-25` must be a Roam-hosted avatar URL from [`/asset.create`](/docs/api/asset-create) with `purpose: "avatar"`, or a legacy `/card-images/` or  |

### Example Request

```json
{
  "id": "evt_abc123",
  "title": "Q1 All Hands (Updated)",
  "start": "2026-04-01T15:00:00Z",
  "end": "2026-04-01T16:00:00Z"
}
```

## Responses

### 200 - The updated event.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | string | Yes | Unique identifier of the event. |
| `title` | string | Yes | Title of the event. |
| `description` | string | No | Description of the event. |
| `slug` | string | Yes | URL-friendly slug for the event. |
| `start` | string | Yes | Start time of the event (RFC 3339). |
| `end` | string | Yes | End time of the event (RFC 3339). |
| `timeZone` | string | Yes | IANA time zone identifier (e.g. `America/New_York`). |
| `eventPageUrl` | string | Yes | Public URL of the event page. |
| `joinLinkUrl` | string | No | URL for joining the event. |
| `enableSEO` | boolean | Yes | Whether the event page is indexed by search engines. |
| `autoAdmit` | boolean | Yes | Whether guests are automatically admitted when they join. |
| `disableRSVP` | boolean | Yes | Whether RSVPs are disabled for this event. |
| `hosts` | OnAirHost[] | Yes | List of hosts for the event. |

**OnAirHost** (array item):

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | string | Yes | Unique identifier of the host. |
| `name` | string | No | Display name of the host. |
| `imageUrl` | string | No | URL of the host's profile image. From API version `2026-08-25`, write paths require a Roam-hosted avatar URL from [`/asset.create`](/docs/api/asset-create) with `purpose: "avatar"`, or a legacy `/card |

### 400 - Bad request.

### 401 - Presented invalid authentication credentials.

### 500 - An internal error occurred.

---

*Machine-readable API documentation.*
*Full documentation: https://developer.ro.am/docs/onair-api/onair-event-update*
