Orgs / Webhooks

Delete a webhook

delete/v2/organizations/{orgId}/webhooks/{webhookId}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

webhookIdstring required
orgIdnumber required

Headers

Authorizationstring

For non-platform customers - value must be Bearer <token> where <token> is api key prefixed with cal_

x-cal-secret-keystring

For platform customers - OAuth client secret key

x-cal-client-idstring

For platform customers - OAuth client ID

Response

status'success' | 'error' required

Example response

{
  "status": "success",
  "data": {
    "payloadTemplate": "{\"content\":\"A new event has been scheduled\",\"type\":\"{{type}}\",\"name\":\"{{title}}\",\"organizer\":\"{{organizer.name}}\",\"booker\":\"{{attendees.0.name}}\"}"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.