DEVELOPER DOCUMENTATION
Delete Webhook Endpoint
Permanently remove a webhook endpoint. Pending deliveries are discarded.
DELETE
/api/partner/v1/webhook-endpoints/{endpointId}Permanently removes a webhook endpoint. Pending deliveries are discarded. Deleting and re-creating is also how you rotate the signing secret — the new endpoint gets a new one.
If you only want to pause delivery, set status to DISABLED instead.
Requirements: webhooks:manage scope.
Request
Section titled “Request”endpointIdstringpathrequiredThe webhook endpoint ID to remove.
Response
Section titled “Response”webhookEndpointobjectFinal snapshot of the removed endpoint: {id, url, eventTypes, status, createdAt, consecutiveFailures, disabledAt, disabledReason}.
deletedbooleanAlways true on success.
Errors
Section titled “Errors”| Status | code | Meaning |
|---|---|---|
401 | UNAUTHORIZED | Missing, invalid, or revoked token |
403 | FORBIDDEN | Token lacks webhooks:manage |
404 | NOT_FOUND | No endpoint with this ID on this install |