kutt - v4.0.0
    Preparing search index...

    Function removeKuttLinkV2

    • Deletes a short link using the Kutt v2 API.

      Parameters

      • linkId: string

        The link's unique ID.

      • options: TAPIOptions = {}

        Per-request base URL, API key, and timeout in milliseconds. Omitted settings use KUTT_CONFIG.

      Returns Promise<string>

      The deletion message returned by the API.

      HTTPError If the API returns an unsuccessful HTTP response.

      If the request fails, times out, or the response cannot be decoded.

      import { removeKuttLinkV2 } from "kutt";

      const message = await removeKuttLinkV2(
      "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      { apiKey: "YOUR_API_KEY" },
      );