---
search:
  tags:
    - Domains
    - DELETE
seo:
  description: >-
    Deletes a domain and stops future sends from it. Remove the published DNS…
    Reference for the DELETE /domains/{domain_id} endpoint in the AI Inbx API
    API.
sidebar:
  label: Delete a domain
  badge: DELETE
title: Delete a domain
type: openapi-operation
---
Deletes a domain and stops future sends from it. Remove the published DNS records afterwards. A wildcard's subdomains are deleted with it, in whatever space they sit; a subdomain is removed on its own, with nothing to unpublish. The provided domain cannot be deleted and fails with `domain_provided`.

<Operation source="api-endpoints" id="delete-domain" />
