Skip to main content
DELETE
/
domain
/
{identifier}
Delete domain
curl --request DELETE \
  --url https://api.sendx.io/api/v1/rest/domain/{identifier} \
  --header 'X-Team-ApiKey: <api-key>'
{
  "status": "success",
  "message": "Resource deleted successfully"
}
🎯 Purpose: Delete a domain from your SendX team. This action removes the domain configuration and all associated settings. ⚠️ Important Considerations:
  • Deleting a domain is permanent and cannot be undone
  • Any senders using this domain may be affected
  • DNS records should be removed from your DNS provider separately
  • Consider the impact on active campaigns
💡 Use Cases:
  • Remove unused or test domains
  • Clean up domains that are no longer needed
  • Replace domains with new configurations
  • Remove domains with failed verifications
🔒 Before Deleting:
  1. Ensure no active campaigns are using this domain
  2. Check that no senders depend on this domain
  3. Verify you have backups of DNS configurations if needed
  4. Consider the impact on email deliverability
⚡ Best Practices:
  • Only delete domains that are truly no longer needed
  • Document DNS configurations before deletion
  • Remove DNS records from your DNS provider after deletion
  • Update any automation or integrations that reference this domain

Authorizations

X-Team-ApiKey
string
header
required

Team API key for authentication. Find your API key in SendX Settings → Team API Key.

Example:

X-Team-ApiKey: your_team_api_key_here

Path Parameters

identifier
string
required

Domain identifier to delete

Response

✅ Domain deleted successfully

status
enum<string>
required
Available options:
success
Example:

"success"

message
string
required
Example:

"Resource deleted successfully"