client.webhooks.delete()
Delete an endpoint. Undelivered retries for it are dropped with it.
delete(id: string): Promise<APIResponse<{ deleted: boolean }>>- stringheaderrequired
Your API key.
Authorization: Bearer <key>is accepted in its place.
- stringrequired
Webhook endpoint id
- Example
- object
The response payload.
- boolean
Always true: the endpoint is gone once this returns.
- string
Id of the deleted endpoint.
- 400
VALIDATION_ERROR - 401
UNAUTHORIZED - 403
FORBIDDEN - 404
NOT_FOUND - 429
RATE_LIMITED - 500
INTERNAL_ERROR
- Minimum tier
- Explorer+
- Monthly quota
- 200/mo
- Rate limit
- 10/min
- Daily cap
- 50
Figures shown are for this endpoint's minimum tier. Higher tiers raise every limit.