Reference
Remy Reference/admin/Remove custom domain
?

Remove custom domain

Remove a custom hostname; an apex also removes its paired www.
admin.domains.customRemove("acme.com")

Remove a custom hostname. An apex also removes its paired www entry.

Parameters
hostname
string
RequiredThe hostname to remove.
CLI
remy-admin domains custom remove app.acme.com