API ReferenceDomainsDelete Domain

    Delete Domain

    Permanently remove a domain from your account. This action cannot be undone.
    DELETEhttps://wapi.simplysend.email/web-setup/domains/{domainId}

    Parameters

    domainIdRequired
    string
    The unique ID of the domain to delete.
    RequestDELETE
    curl -X DELETE https://wapi.simplysend.email/web-setup/domains/{domainId} \
      -H "X-Api-Key: your_api_key" \
      -H "X-Id: your_account_id"
    Response
    {
      "success": true,
      "data": {
        "message": "Domain domain_1768776641476_d8vc40fk647 deleted successfully",
        "domainId": "domain_1768776641476_d8vc40fk647"
      }
    }