Delete a webhook endpoint
DELETE
/v1/webhooks/{webhook_id}
await bird.webhooks.delete("whk_01krdgeqcxet5s7t44vh8rt9mg");client.webhooks.delete("whk_01krdgeqcxet5s7t44vh8rt9mg")if err := client.Webhooks.Delete(context.Background(), "whk_123"); err != nil {
log.Fatal(err)
}$bird->webhooks->delete('whk_01krdgeqcxet5s7t44vh8rt9mg');bird webhooks delete <webhook-id> --yescurl -X DELETE "https://us1.platform.bird.com/v1/webhooks/{webhook_id}" \
-H "Authorization: Bearer $TOKEN"Permanently removes the webhook endpoint and stops all deliveries to it, including retries of earlier failed deliveries. This cannot be undone: recreating an endpoint later mints a new id and signing secret. To stop deliveries temporarily instead, set status to paused with Update a webhook endpoint.
Parameters
webhook_id
string
ID of the webhook endpoint (whk_ prefix), as returned when it was created.
Gerelateerde bronnen
Ga verder met de documentatie, gidsen en voorbeelden voor dit onderwerp. De bronnen zijn in het Engels.
Bekijk de gidsWebhooks done right: reliable delivery eventsBegrijp het conceptHow do I verify a webhook signature?Volg het leerpadOperate messaging reliablyImplementatiegidsWebhooks & events
Probeer de oefening en ontvang een implementatieoverzicht