# Update occurrence

`PATCH /events/{eventId}/occurrences/{id}`

Base URL: `https://api.viewcy.com/2025_06`

## Parameters

- `eventId` (path, string, **required**) (example: `00000000-0000-0000-0000-000000000000`)
- `id` (path, string, **required**) (example: `00000000-0000-0000-0000-000000000000`)

## Request Body

Content-Type: `application/json`

- `startsAt` (string)

## Responses

### 200 — Updates only the sent field

- `object` (string)
- `id` (string)
- `eventId` (string)
- `startsAt` (string)
- `endsAt` (string)
- `canceled` (boolean)
- `createdAt` (string)
- `updatedAt` (string)
- `recurringScheduleId` (any)
- `meta` (object)
  - `requestId` (string)

### 401 — Returns 401

- `object` (string)
- `status` (integer)
- `message` (string)
- `meta` (object)
  - `requestId` (string)

### 403 — Updates only the sent field

- `object` (string)
- `status` (integer)
- `message` (string)
- `meta` (object)
  - `requestId` (string)

### 404 — Updates only the sent field

- `object` (string)
- `status` (integer)
- `message` (string)
- `meta` (object)
  - `requestId` (string)

### 422 — Returns 422 when the resulting times are invalid

- `object` (string)
- `status` (integer)
- `message` (string)
- `errors` (array)
  Items:
    - `field` (string)
    - `message` (string)
- `meta` (object)
  - `requestId` (string)

---
Full OpenAPI spec: https://developer.viewcy.com/openapi/2025_06_viewcy_api.yaml

Interactive docs: https://developer.viewcy.com/api/update-occurrence
