Update event
PUT {{baseUrl}}/:calendarKeyOrId/events/:event_id?tz=Europe/London
Basic example of how to create a new event.
Note: Before you can update an event you need to create and event and obtain its event identifier. The event id is used in two places. It is a path parameter and also part of the body.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
tz | string | The timezone in which event times are returned. If not specified, it defaults to the default timezone of the calendar. |
Request Body
{"id"=>1665515507, "start_dt"=>"2024-04-10T10:30:00-01:00", "end_dt"=>"2024-04-10T12:30:00-01:00", "all_day"=>false, "subcalendar_ids"=>[13142976, 13142977], "title"=>"Project Meeting v3", "location"=>"Conf. room 1", "who"=>"Project Team", "notes"=>"<h2>Agenda</h2>\n<ul>\n<li>Project status</li>\n<li>Next steps</li>\n</ul>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Teamup-Token | string |
RESPONSES
status: OK
{"event":{"id":"1665515507","series_id":null,"remote_id":null,"subcalendar_id":13142976,"subcalendar_ids":[13142976,13142977],"all_day":false,"rrule":"","title":"Project Meeting v3","who":"Project Team","location":"Conf. room 1","notes":"\u003ch2\u003eAgenda\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003eProject status\u003c/li\u003e\n\u003cli\u003eNext steps\u003c/li\u003e\n\u003c/ul\u003e","version":"4ddadb6b9010","readonly":false,"tz":"Europe/London","attachments":[],"start_dt":"2024-04-10T12:30:00+01:00","end_dt":"2024-04-10T14:30:00+01:00","ristart_dt":null,"rsstart_dt":null,"creation_dt":"2024-04-07T18:15:44+01:00","update_dt":"2024-04-07T19:28:56+01:00","delete_dt":null},"undo_id":"21f09f7552642fa579d1"}