Delete a forwarding rule
Permanently deletes an inbound email forwarding rule. Use this endpoint to delete a forwarding rule through the Samva email API.
DELETE
Permanently deletes an inbound email forwarding rule.
apiKeyheader
x-api-key<token>id*stringMatch
^fwd_[0-9a-hjkmnp-tv-z]{16,24}$SuccessResult
application/json- response
success*booleanmessage*stringimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.email.deleteForwardingRule({ "id": "example"});Example Response
{ "success": true, "message": "string"}