cURL
curl --request DELETE \ --url https://app.lettr.com/api/webhooks/{webhookId} \ --header 'Authorization: Bearer <token>'
200
Example
{ "message": "Webhook deleted successfully." }
Delete a webhook. This removes the webhook from SparkPost and it will no longer receive event notifications.
API key for authentication
The webhook ID to delete
"webhook-abc123"
Webhook deleted successfully
Was this page helpful?