Remove the DELETE /domains endpoint from the API
The DELETE /domains endpoint is not documented, and it removes all domains from your account. My suggestion is to remove it from the API. The action of removing all domains from an account is really rare, and can easily be solved with multiple calls to remove each domain separately.
3
votes

Thanks for the feedback here. That call was inadvertently public. We’ve since removed that call from the public API.