TEASEDocs
ProductsLinkDomains

Delete a domain you no longer use

The domain and its configuration disappear; nothing public is left orphaned.

DELETE /api/admin/domains/{hostname} removes a domain and everything configured on it — but only once nothing public still depends on it.

Why it might refuse (409)

A delete is blocked, not queued, when any of these are still true — fix the underlying thing first, there's no force-delete:

CodeMeaningFix
domain_public_address_activeThis channel's own public address is currently an alias elsewhere (primary_address is set)Move it back to its own host first
domain_carries_public_addressesAnother channel's alias still resolves through this hostnameMove that channel off it first
domain_has_qr_codesPrinted QR codes reference this addressTurn those carriers off or regenerate them
domain_migration_activeA rotation to or from this domain is still runningFinish or roll back the migration first

What actually gets removed

Once the guards pass, deleting a domain in one transaction:

  • Hard-deletes its buttons, notifications, background config, segments, visibility rules, locale config, of_links, redirect slots, smart links, and creator links.
  • Preserves money history: OfLinkStat rows (the cumulative link snapshots) are kept — only their link reference is cleared, never the rows themselves.
  • Removes local asset directories (notification media, backgrounds, both draft and published).
  • Deprovisions the nginx site and certificate on the server.
  • Re-exports the draft and published runtime and resets the domain/slug/relay caches, so the hostname stops resolving to anything immediately.

What's next

Not ready to lose the config, just want traffic somewhere else? See Move off a burned domain instead of deleting.

On this page