Skip to main content

PUT /events


Updates data on an event

The route handles the PUT request made to the /events/{id} path.

HTTP methodRouteQuery parameters

Query parameters

The next parameter is sent in the request line:

idnumberRequired. The ID of the event to be updated.


The server expects to receive a json object with the next properties (both unchanged and modified properties are needed):

textstringRequired. The name of the event to be updated.
start_datestringRequired. The event start date in the ISO format yyyy-MM-dd'T'HH:mm:ss.SSSXXX
end_datestringRequired. The event end date in the ISO format yyyy-MM-dd'T'HH:mm:ss.SSSXXX
allDaybooleanOptional. Enables/disables the event duration throughout the day.
typenumberRequired. The calendar ID which is the event type.
detailsstringOptional. Details about the event.
filesobjectOptional. An array of the files to be attached to the event. You can attach files that are already uploaded to the server. The file object should contain the file id, name, and url.


"text": "My Event",
"start_date": "2022-07-10T03:05:00.369Z",
"end_date": "2022-08-10T10:10:00.369Z",
"allDay": true,
"type": 1,
"details": "Some details",
"files": [
"id": 2,
"name": "test.txt",
"url": ""


No data is returned back. The HTTP status code shows whether the request succeeds (response.status == 200) or fails (response.status == 500).

Related articles: