---
title: "Update the Visibility of an Event"
method: POST
path: "/partner/event-occurrence/status"
tags: ["Partner::Individual Events"]
---

# Update the Visibility of an Event

`POST /partner/event-occurrence/status`

This endpoint is used to update the visibility status of one or more events in the TotalPass' app, making it possible to set events as either "hidden", "inactive" or "active". The endpoint supports batch updates for up to 20 events per request. By default, events are set to "active" when created or not explicitly modified. The three possible status are explained below:
  - "active": the event is indeed active and should be shown to users in the TotalPass' app;
  - "hidden": the event should not be shown to users in the TotalPass' app and new reservations cannot be created, but the reservations that were already created should not be deleted;
  - "inactive": the event should not be shown to users in the TotalPass' app, new reservations cannot be created and the reservations that were already created should be deleted.

## Parameters

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

## Request body

- object
  - `occurrencesToUpdate` object[], required — Array containing the event occurrences to be updated. Each object in the array must include the occurrenceUuid and status.
    - `occurrenceUuid` string, required — UUID of the event occurrence. This field is used to uniquely identify a specific occurrence of an event in the system.
    - `status` 'ACTIVE' | 'INACTIVE' | 'HIDDEN', required — Event status, can be ACTIVE, INACTIVE or HIDDEN.

## 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)
