Remove a sender
Accepts sender removal and marks the sender inactive.
DELETE
Accepts sender removal and marks the sender inactive. A default sender can be removed when no other active sender remains in the organization. It reports the deleting lifecycle until removal finishes.
apiKeyheader
x-api-key<token>id*stringMatch
^sender_[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.removeSender({ "id": "example"});Example Response
{ "success": true, "message": "string"}