import Inbound from 'inboundemail';
const client = new Inbound({
apiKey: process.env['INBOUND_API_KEY'], // This is the default and can be omitted
});
const domain = await client.domains.delete('id');
console.log(domain.deletedResources);{
"success": true,
"message": "<string>",
"deletedResources": {
"domain": "<string>",
"emailAddresses": 123,
"dnsRecords": 123,
"blockedEmails": 123,
"sesIdentity": true,
"sesReceiptRules": true
}
}Delete a domain and all associated resources including email addresses, DNS records, and SES configurations. Root domains with subdomains must have subdomains deleted first.
import Inbound from 'inboundemail';
const client = new Inbound({
apiKey: process.env['INBOUND_API_KEY'], // This is the default and can be omitted
});
const domain = await client.domains.delete('id');
console.log(domain.deletedResources);{
"success": true,
"message": "<string>",
"deletedResources": {
"domain": "<string>",
"emailAddresses": 123,
"dnsRecords": 123,
"blockedEmails": 123,
"sesIdentity": true,
"sesReceiptRules": true
}
}Documentation Index
Fetch the complete documentation index at: https://inbound.new/docs/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?