HOC SiteDocumentation

save_site_variables

Replace the website's site variables. variables is the array stored on the website (name, type, generator, persistCookie, ttlSeconds, scope site). dryRun validates and returns the normalized variables without writing. Unique ID is generator.kind uuidv7. Requires migration 177. Docs: design/shared-concepts/ticker-and-page-rules.

save_site_variables · Group: settings

Replace the website's site variables. variables is the array stored on the website (name, type, generator, persistCookie, ttlSeconds, scope site). dryRun validates and returns the normalized variables without writing. Unique ID is generator.kind uuidv7. Requires migration 177. Docs: design/shared-concepts/ticker-and-page-rules.

Inputs

FieldRequiredNotes
websiteIdrequired
variablesrequiredEditorVariable[]
dryRunoptional

Maps to

  • PUT /api/v1/{locale}/{websiteId}/site-variables → API