curl --request DELETE \
--url https://api.tryfuse.ai/api/v1/business/tracking-domains/{trackingDomainId} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.tryfuse.ai/api/v1/business/tracking-domains/{trackingDomainId}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.tryfuse.ai/api/v1/business/tracking-domains/{trackingDomainId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Remove a tracking domain
Removes a tracking domain from your team. A domain that was ever ACTIVE is retired rather than deleted: links in emails already sent keep resolving through it, new sends no longer use it, and the hostname stays held, so no other team can claim it while your team can claim it again to bring it back. A domain that never went ACTIVE is deleted outright and its hostname is free to claim. Campaigns pinned to a removed domain keep the pin, and their links fall back at send time as if none were set. Only the team owner’s and admins’ keys can remove. Rate limit: 30 requests/minute and 1,000/day per token owner, shared by every /business/tracking-domains endpoint. This route can call the certificate provider, so it also spends the budget the app’s own Add and Check now spend: 10 requests/minute and 200/day per user, shared by POST /business/tracking-domains, POST /business/tracking-domains//verify and DELETE /business/tracking-domains/. Once the tracking-domain bucket lets a request through, the RateLimit-* headers describe this budget.
Errors:
403TRACKING_DOMAIN_READ_ONLY— The key belongs to a team member: tracking domains are the team’s, and only its owner and admins change them.404TRACKING_DOMAIN_NOT_FOUND— No tracking domain with this id belongs to your team (another team’s id answers the same), or it was removed.404TEAM_NOT_FOUND— The account this key belongs to resolves to no team.409TRACKING_DOMAIN_REMOVAL_PENDING— The certificate provider is still switching off a domain that was registered but never went ACTIVE, so the domain was kept as it was; send the DELETE again in a minute or two.422VALIDATION_FAILED— trackingDomainId is not a 24-character hex id.429RATE_LIMITED— Either the tracking-domain bucket (30/minute, 1,000/day) or the certificate-provider budget (10/minute, 200/day per user, shared with the app’s Add and Check now) was exceeded; wait the Retry-After seconds.500UNEXPECTED_ERROR— An unhandled failure; the detail stays in our logs and is never returned.
Requires one of the following token scopes: campaigns.
curl --request DELETE \
--url https://api.tryfuse.ai/api/v1/business/tracking-domains/{trackingDomainId} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.tryfuse.ai/api/v1/business/tracking-domains/{trackingDomainId}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.tryfuse.ai/api/v1/business/tracking-domains/{trackingDomainId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}