Remove a sending domain
Permanently deletes a sending domain from the organization. Use this endpoint to remove a sending domain through the Samva email API.
DELETE
Permanently deletes a sending domain from the organization.
apiKeyheader
x-api-key<token>id*stringMatch
^dom_[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.removeDomain({ "id": "example"});Example Response
{ "success": true, "message": "string"}