---
title: "Update an Event"
method: PUT
path: "/partner/events/{eventId}"
tags: ["Partner::Events"]
---

# Update an Event

`PUT /partner/events/{eventId}`

Request to update events/classes within all respective EventOccurrence. All fields in the payload are mandatory. The slots filen cannot be reduced, only increased.

## Path parameters

- `eventId` number, required

## Parameters

- `#/paths/~1partner~1events/get/parameters/0` — unresolved $ref

## Request body

- object
  - `title` string, required — Title of the class/event.
  - `responsible` string, required — Name of the responsible person.
  - `duration` integer, required — Duration of the class in minutes.
  - `slots` integer, required — Number of slots allocated for Totalpass Students.
  - `description` string — Description of the event/class.

## Response `201`

Created a event

- object

## Other responses

- `400` — Bad Request
- `401` — unresolved $ref

---

[API](https://skmtc.net/totalpass/apis/token-use.md) · [All operations](https://skmtc.net/totalpass/apis/token-use/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/totalpass/token-use/revisions/bc65b4950c7e/schema)
