DELETE /calendars/:id
You can delete a calendar on the Timekit platform by using this endpoint. You can delete any calendar if the resource doesn't have a connected google account
If the user/resource has a connected Google account, you can only delete calendars that have been created using the [POST] /calendars endpoint. This is to avoid private calendars are deleted in error (or abused) without consent of the Google account owner.
Endpoint
DELETE https://api.timekit.io/v2/calendars/:id
Parameters
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
id |
path | string | yes | The ID of the calendar |