Receiving Domains
Remove Receiving Domain
Stop receiving mail for a domain
DELETE
/
api
/
v1
/
receiving-domains
/
{domain}
Remove Receiving Domain
curl --request DELETE \
--url https://api.sequenzy.com/api/v1/receiving-domains/{domain} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sequenzy.com/api/v1/receiving-domains/{domain}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sequenzy.com/api/v1/receiving-domains/{domain}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sequenzy.com/api/v1/receiving-domains/{domain}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sequenzy.com/api/v1/receiving-domains/{domain}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.sequenzy.com/api/v1/receiving-domains/{domain}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sequenzy.com/api/v1/receiving-domains/{domain}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"receivingDomain": {
"id": "k3x9rd2m8q1pz7w4v6n0b5c",
"domain": "support.acme.com",
"status": "verified",
"records": [
{
"type": "MX",
"name": "support.acme.com",
"value": "inbound-smtp.us-east-1.amazonaws.com",
"priority": 10,
"status": "verified"
}
],
"error": null,
"claimExpiresAt": null,
"verifiedAt": "2026-10-10T09:04:00.000Z",
"lastCheckedAt": "2026-10-10T15:04:00.000Z",
"createdAt": "2026-10-10T09:00:00.000Z"
}
}
{
"error": "You have view-only access to this company. Contact the owner to request edit permissions."
}
{
"error": "Receiving domain not found.",
"code": "not_found"
}
Remove a receiving domain. The response returns the domain as it was before
removal.
New emails stop using the domain for reply addresses. Sequenzy also deletes
the Amazon SES receiving setup it created for the name once nothing else uses
it. Remove Sequenzy’s MX record from your DNS afterwards, so mail for the
domain no longer goes to Sequenzy.
Requires the
Mail to every address on the domain stops reaching your Inbox, including
replies to emails you already sent with reply addresses on it. A branded inbox
address on the domain is cleared, and your inbox address goes back to
inbox+ {companyId}@inbound.sequenzy.com.websites:delete scope and owner or admin access.
CLI: sequenzy receiving-domains remove support.acme.com. MCP:
remove_receiving_domain.
Request
string
required
The receiving domain’s name, such as
support.acme.com, or its id.curl -X DELETE "https://api.sequenzy.com/api/v1/receiving-domains/support.acme.com" \
-H "Authorization: Bearer YOUR_API_KEY"
Response fields
object
The removed receiving domain as it was, with the fields described in Get
Receiving Domain.
Responses
{
"success": true,
"receivingDomain": {
"id": "k3x9rd2m8q1pz7w4v6n0b5c",
"domain": "support.acme.com",
"status": "verified",
"records": [
{
"type": "MX",
"name": "support.acme.com",
"value": "inbound-smtp.us-east-1.amazonaws.com",
"priority": 10,
"status": "verified"
}
],
"error": null,
"claimExpiresAt": null,
"verifiedAt": "2026-10-10T09:04:00.000Z",
"lastCheckedAt": "2026-10-10T15:04:00.000Z",
"createdAt": "2026-10-10T09:00:00.000Z"
}
}
{
"error": "You have view-only access to this company. Contact the owner to request edit permissions."
}
{
"error": "Receiving domain not found.",
"code": "not_found"
}
⌘I
Remove Receiving Domain
curl --request DELETE \
--url https://api.sequenzy.com/api/v1/receiving-domains/{domain} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sequenzy.com/api/v1/receiving-domains/{domain}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sequenzy.com/api/v1/receiving-domains/{domain}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sequenzy.com/api/v1/receiving-domains/{domain}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sequenzy.com/api/v1/receiving-domains/{domain}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.sequenzy.com/api/v1/receiving-domains/{domain}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sequenzy.com/api/v1/receiving-domains/{domain}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"receivingDomain": {
"id": "k3x9rd2m8q1pz7w4v6n0b5c",
"domain": "support.acme.com",
"status": "verified",
"records": [
{
"type": "MX",
"name": "support.acme.com",
"value": "inbound-smtp.us-east-1.amazonaws.com",
"priority": 10,
"status": "verified"
}
],
"error": null,
"claimExpiresAt": null,
"verifiedAt": "2026-10-10T09:04:00.000Z",
"lastCheckedAt": "2026-10-10T15:04:00.000Z",
"createdAt": "2026-10-10T09:00:00.000Z"
}
}
{
"error": "You have view-only access to this company. Contact the owner to request edit permissions."
}
{
"error": "Receiving domain not found.",
"code": "not_found"
}