umami-api-js
    Preparing search index...

    Function post

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

      Parameters

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

          The pixel's name

        • slug: string

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

        • OptionalteamId?: string

          The ID of the team the pixel will be created under

      Returns Promise<Pixel>