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

KeyDatatypeRequiredDescription
tzstringThe 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

KeyDatatypeRequiredDescription
Acceptstring
Teamup-Tokenstring

RESPONSES

status: OK

{&quot;event&quot;:{&quot;id&quot;:&quot;1665515507&quot;,&quot;series_id&quot;:null,&quot;remote_id&quot;:null,&quot;subcalendar_id&quot;:13142976,&quot;subcalendar_ids&quot;:[13142976,13142977],&quot;all_day&quot;:false,&quot;rrule&quot;:&quot;&quot;,&quot;title&quot;:&quot;Project Meeting v3&quot;,&quot;who&quot;:&quot;Project Team&quot;,&quot;location&quot;:&quot;Conf. room 1&quot;,&quot;notes&quot;:&quot;\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&quot;,&quot;version&quot;:&quot;4ddadb6b9010&quot;,&quot;readonly&quot;:false,&quot;tz&quot;:&quot;Europe/London&quot;,&quot;attachments&quot;:[],&quot;start_dt&quot;:&quot;2024-04-10T12:30:00+01:00&quot;,&quot;end_dt&quot;:&quot;2024-04-10T14:30:00+01:00&quot;,&quot;ristart_dt&quot;:null,&quot;rsstart_dt&quot;:null,&quot;creation_dt&quot;:&quot;2024-04-07T18:15:44+01:00&quot;,&quot;update_dt&quot;:&quot;2024-04-07T19:28:56+01:00&quot;,&quot;delete_dt&quot;:null},&quot;undo_id&quot;:&quot;21f09f7552642fa579d1&quot;}