curl --request DELETE \
--url https://api.cal.com/v2/event-types/{eventTypeId} \
--header 'Authorization: <authorization>' \
--header 'cal-api-version: <cal-api-version>'
{
"status": "success",
"data": {
"id": 1,
"lengthInMinutes": 60,
"title": "Learn the secrets of masterchief!",
"slug": "<string>"
}
}
curl --request DELETE \
--url https://api.cal.com/v2/event-types/{eventTypeId} \
--header 'Authorization: <authorization>' \
--header 'cal-api-version: <cal-api-version>'
{
"status": "success",
"data": {
"id": 1,
"lengthInMinutes": 60,
"title": "Learn the secrets of masterchief!",
"slug": "<string>"
}
}
Must be set to 2024-06-14
value must be Bearer <token>
where <token>
is api key prefixed with cal_ or managed user access token
The response is of type object
.
Was this page helpful?