Settings changes

Apply a previewed settings change

Commits exactly the change the token was made for. Refused with 409 (settings_changed) when the settings differ from what they were at preview, 410 (preview_expired) after 10 minutes, and 400 (invalid_change_token) for a token made for another site or person. The change is logged in the site's activity log, as made by the connected app when an agent applied it. At most 20 a minute.

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

post/v1/projects/{projectId}/settings-changes/apply

Request

  • Base URL: https://hootlens-api-368877148687.us-east1.run.app
  • URL: https://hootlens-api-368877148687.us-east1.run.app/v1/projects/{projectId}/settings-changes/apply
  • 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.

Request body

tokenstring required

Response

The applied change.

appliedboolean required
appliedAtinteger

Epoch milliseconds.

areasstring[]
loggedAsstring
messagestring

Changes

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