Update site settings
Changes the name, allowed origins, preview origin patterns, privacy policy, consent mode, sample rate, page targeting, per-path privacy presets (pathPresets), page groups, grouping, retention, AI explanations, JavaScript error recording or internal traffic setting. The owner may change every field; an editor may change only pageGroups and grouping. Personal access tokens and connected apps receive 403, whatever their scopes: agents use the settings changes below, which can only make privacy stricter.
Required token scopes are listed in x-hootlens-scopes. A signed-in person needs the matching permission on the site instead (the viewer and editor roles are presets of the permissions).
Request
- Base URL: https://hootlens-api-368877148687.us-east1.run.app
- URL: https://hootlens-api-368877148687.us-east1.run.app/v1/projects/{projectId}
- Auth: HTTP bearer
Path parameters
An identifier: 1 to 80 letters, digits, underscores or hyphens.
The project ID. Project IDs are public identifiers, not secrets.
Request body
Response
The updated site.
Changes
No recorded changes to this operation across all 1 revision of this API.