Hoppa till innehållet

Remove a sending domain

DELETE/v1/domains/{id}

TypeScript account.domains.delete(domainId)

Python account.domains.delete(domain_id)

Key ak_… an account key

Mail from the domain is refused from then on; its DKIM key is gone.

Parameters

  • idin pathstring (uuid)required

    The domain id.

Responses

Errors

Every error answers error, the code, and message, a sentence for a person. A code that adds fields is shown in full below the table.

CodeStatusMeaning
unauthorized401The key is missing, malformed or revoked.
wrong_token_kind403The key is of the other kind: a server key (sk_) where an account key (ak_) is needed, or the reverse. The message names the kind the operation takes.
not_found404No such domain of this account.