Delete a webhook
Deletes a webhook endpoint so it no longer receives event deliveries. Use this endpoint to delete a webhook through the Samva email API.
DELETE
Deletes a webhook endpoint so it no longer receives event deliveries.
apiKeyheader
x-api-key<token>id*stringMatch
^wep_[0-9a-hjkmnp-tv-z]{16,24}$SuccessResponse
application/json- response
success*booleanimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.webhooks.remove({ "id": "example"});Example Response
{ "success": true}Related documentation
Rotate a webhook signing secret
Generates and returns a new signing secret. The previous secret remains valid for a 24-hour rotation overlap.
Retry a webhook delivery
Performs one immediate manual redelivery attempt and returns that attempt's identity and outcome without changing the automatic retry lifecycle.