cURL
curl --request PATCH \ --url https://prod.featherhq.com/api/v1/calendars/{calendarId}/event-types/{eventTypeId} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "<string>", "slug": "<string>", "description": "<string>", "duration": 2, "slotInterval": 2, "minimumBookingNotice": 1, "beforeEventBuffer": 1, "afterEventBuffer": 1, "periodType": "UNLIMITED", "periodDays": 2, "periodStartDate": "2023-12-25", "periodEndDate": "2023-12-25", "scheduleId": "<string>", "location": "<string>", "addGoogleMeet": true, "metadata": null, "active": true } '
{ "id": "<string>", "calendarId": "<string>", "name": "<string>", "slug": "<string>", "description": "<string>", "duration": 123, "slotInterval": 123, "minimumBookingNotice": 123, "beforeEventBuffer": 123, "afterEventBuffer": 123, "periodType": "UNLIMITED", "periodDays": 123, "periodStartDate": "<string>", "periodEndDate": "<string>", "scheduleId": "<string>", "location": "<string>", "addGoogleMeet": true, "active": true, "archived": true, "createdAt": "<string>", "updatedAt": "<string>", "metadata": null }
1 - 255
1000
x >= 1
x >= 0
UNLIMITED
ROLLING
RANGE
Event type updated