https://api.visitors.now/v1/project/hostnames/:hostnameRemoves an allowed hostname from the project.
const hostname = encodeURIComponent("*.visitors.now");
const res = await fetch(`https://api.visitors.now/v1/project/hostnames/${hostname}`, {
method: "DELETE",
headers: { Authorization: `Bearer ${VISITORS_API_KEY}` },
});
const data = await res.json();{
"hostnames": ["visitors.now"]
}