---
title: "Edits an event based on its id"
method: PUT
path: "/events/{eventId}"
tags: ["events"]
---

# Edits an event based on its id

`PUT /events/{eventId}`

## Path parameters

- `eventId` string, required

## Request body

- object
  - `attendees` string[]
  - `dates` string[]
  - `duration` number
  - `name` string
  - `notificationsEnabled` boolean
  - `remindees` string[]
  - `type` string

## Response `200`

OK

## Changes

- **2023-03-06** `d86ec0b72cf2` — 1 info
  - endpoint added
- **2022-05-18** `c8572ecc9480` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/schej-it/apis/schej-it-api/changes/events/:eventId/put.md)

---

[API](https://skmtc.dev/schej-it/apis/schej-it-api.md) · [All operations](https://skmtc.dev/schej-it/apis/schej-it-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/schej-it/schej-it-api/revisions/519c29d7fa5e/schema)
