Update the Visibility of an Event

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.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Please, note that all fields are mandatory, the endpoint allows the update of 20 events maximum and the default value is "active".

occurrencesToUpdate
array of objects
required

Array containing the event occurrences to be updated. Each object in the array must include the occurrenceUuid and status.

occurrencesToUpdate*
Headers
string
required

jwt used for authentication

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json