import * as api from "./base"; import type { DeadHost } from "./models"; export async function createDeadHost(item: DeadHost, abortController?: AbortController): Promise { return await api.post( { url: "/nginx/dead-hosts", // todo: only use whitelist of fields for this data data: item, }, abortController, ); }