Skip to main content
POST
/
v1.DomainService
/
DeleteDomain
Remove a domain. You won't be able to send from it anymore.
curl --request POST \
  --url https://api.simpleemailapi.dev/v1.DomainService/DeleteDomain \
  --header 'Authorization: Bearer <token>' \
  --header 'Connect-Protocol-Version: <connect-protocol-version>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>"
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

API key authentication. Sign up on the dashboard, create a workspace, and grab your API key (starts with em_). Include it in the Authorization header as: Bearer em_live_xxxxx

Headers

Connect-Protocol-Version
enum<number>
required

Define the version of the Connect protocol

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json
id
string

Response

Success

message
string