Goals

Replace a goal

Counting restarts when what the goal matches changes, so one goal never mixes two definitions. Personal access tokens receive 403.

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).

put/v1/projects/{projectId}/goals/{goalId}

Request

  • Base URL: https://hootlens-api-368877148687.us-east1.run.app
  • URL: https://hootlens-api-368877148687.us-east1.run.app/v1/projects/{projectId}/goals/{goalId}
  • Auth: HTTP bearer

Path parameters

projectIdstring required

An identifier: 1 to 80 letters, digits, underscores or hyphens.

The project ID. Project IDs are public identifiers, not secrets.

goalIdstring required

An identifier: 1 to 80 letters, digits, underscores or hyphens.

A goal ID.

Request body

OR
OR
OR

Response

The goal.

Changes

No recorded changes to this operation across all 1 revision of this API.