umami-api-js
    Preparing search index...

    Function post

    • post(
          this: API,
          parameters: {
              domain: string;
              id?: string;
              name: string;
              shareId?: string | null;
              teamId?: string | null;
          },
      ): Promise<Website>

      Parameters

      • this: API
      • parameters: {
            domain: string;
            id?: string;
            name: string;
            shareId?: string | null;
            teamId?: string | null;
        }
        • 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 | null

          The ID of the team the website will be created under

      Returns Promise<Website>