cURL
curl --request DELETE \ --url https://api.cal.com/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} \ --header 'Authorization: <authorization>'
{ "status": "success", "data": { "payloadTemplate": "{\"content\":\"A new event has been scheduled\",\"type\":\"{{type}}\",\"name\":\"{{title}}\",\"organizer\":\"{{organizer.name}}\",\"booker\":\"{{attendees.0.name}}\"}", "triggers": [ "BOOKING_CREATED" ], "eventTypeId": 123, "id": 123, "subscriberUrl": "<string>", "active": true, "secret": "<string>" } }
value must be Bearer <token> where <token> is api key prefixed with cal_
Bearer <token>
<token>
success
error
"success"
Show child attributes
Was this page helpful?