Skip to main content
DELETE
https://api.bunship.com
/
api
/
v1
/
organizations
/
{orgId}
/
webhooks
/
{id}
Delete Webhook Endpoint
curl --request DELETE \
  --url https://api.bunship.com/api/v1/organizations/{orgId}/webhooks/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Webhook endpoint deleted"
}
Permanently deletes a webhook endpoint. All pending deliveries for this endpoint are cancelled.

Auth

Requires a valid Bearer token. User must be a member of the organization.

Path Parameters

orgId
string
required
Organization identifier.
id
string
required
Webhook endpoint identifier.

Response

success
boolean
Always true on success.
message
string
Confirmation message.
{
  "success": true,
  "message": "Webhook endpoint deleted"
}

Example

curl -X DELETE https://api.bunship.com/api/v1/organizations/org_cld2abc123def456/webhooks/wh_abc123 \
  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..."