v1

latestOpenAPI 3.0.02026-08-04265791.1 MB
Events

Partial Update

Update a subset of properties of an event

patch/public/api/events/{id}

Path parameters

idstring required

The id of the event

idstring required

The id of the event

Headers

Acceptstring

e.g. application/json

Request body

tagsstring[]
descriptionstring
timezonestring

Example request

{
  "tags": [
    "event_tag"
  ],
  "description": "update description",
  "timezone": "America/New_York"
}

Response

OK

event_idstring
titlestring
descriptionstring
start_datestring
end_datestring
event_typestring
created_datestring
updated_datestring
user_idsstring[]
tagsstring[]
timezonestring

Example response

{
  "event_id": "62876c7ad1d606003e43d8bc",
  "title": "private event",
  "description": "update description",
  "start_date": "2022-05-23T10:24:00.000Z",
  "end_date": "2022-05-23T15:25:00.000Z",
  "event_type": "private",
  "images": [],
  "created_date": "2022-05-20T10:24:58.655Z",
  "updated_date": "2022-05-20T10:24:58.655Z",
  "user_ids": [
    "5f23dc9e342004004927778e",
    "5f3cfa761e8fdf003bf1faba",
    "628361451008ce002508afe1",
    "628364ac1008ce00250a18c2"
  ],
  "tags": [
    "event_tag"
  ],
  "timezone": "America/New_York"
}