---
title: "Update an event"
method: PATCH
path: "/api/events/{eventId}"
tags: ["Events"]
---

# Update an event

`PATCH /api/events/{eventId}`

## Request

- Base URL: `https://api.historis.app`
- URL: `https://api.historis.app/api/events/{eventId}`
- Auth: HTTP bearer

## Request body

- EventInput
  - `content` string, required
  - `status` 'open' | 'in_progress' | 'done'
  - `deadline` string, date
  - `tags` string[]
  - `personIds` string[]
  - `visibility` 'organization' | 'teams' | 'private'

## Response `200`

Updated event

- object

## Other responses

- `400`: Request failed schema validation
- `401`: Missing or invalid credentials
- `404`: Resource not found or not visible to the caller
- `429`: Rate limit exceeded for the caller's identity/plan
- `500`: Internal server error

---

[API](https://skmtc.dev/historis/apis/historis-api.md) · [All operations](https://skmtc.dev/historis/apis/historis-api/llms.txt) · [OpenAPI document](https://skmtc.dev/historis/apis/historis-api/revisions/fa382546b63e?raw)
