サイト
サイトの一覧、作成、取得、更新、削除。
Lists the team's sites that the API key can access, in pages of up to 200.
limitintegerMaximum number of results per page.
cursorstring | 任意 | nullOpaque pagination cursor from the previous response.
Creates a site in the team and returns it. Install the tracking script from Get tracking script to start collecting data.
namestring必須Display name of the site.
domainstring必須Domain of the website, without protocol, e.g. example.com.
publicEnabledboolean必須Whether the public shared dashboard is enabled.
publicSlugstringSlug of the public dashboard URL. Omit it to have one generated.
Returns one site.
siteIdstring必須ID of the site (see List sites).
Updates a site's name, domain, or public sharing. Send only the fields to change; at least one is required.
siteIdstring必須ID of the site (see List sites).
namestringdomainstringpublicEnabledbooleanpublicSlugstringDeletes the site and all of its analytics data. This cannot be undone.
siteIdstring必須ID of the site (see List sites).