umami-api-js
    Preparing search index...

    Function createWebsite

    • Parameters

      • this: API
      • parameters: {
            domain: string;
            id?: string;
            name: string;
            shareId?: string | null;
            teamId?: string;
        }
        • domain: string

          The full domain of the tracked website

        • Optionalid?: string

          Force a UUID assignment to the website

        • name: string

          The name of the website in Umami

        • OptionalshareId?: string | null

          A unique string to enable a share url. Set null to unshare

        • OptionalteamId?: string

          The ID of the team the website will be created under

      Returns Promise<Website>