umami-api-js
    Preparing search index...

    Function post

    • post(
          this: API,
          parameters: { name: string; slug: string; teamId?: string; url: string },
      ): Promise<Link>

      Parameters

      • this: API
      • parameters: { name: string; slug: string; teamId?: string; url: string }
        • name: string

          The link's name

        • slug: string

          The link's URL slug, with a minimum of 8 characters

        • OptionalteamId?: string

          The ID of the team the link will be created under

        • url: string

          The link's destination URL

      Returns Promise<Link>