Update the region and locale stored against aDocumentation Index
Fetch the complete documentation index at: https://docs.frontic.com/llms.txt
Use this file to discover all available pages before exploring further.
contextKey. Subsequent requests that use the same token reflect the change — useful for region/language switching without minting a new token.
Scope is not changed via this endpoint. A scope transition (for example, an authenticated visitor moving from public to b2b after login) is handled server-side by issuing a new contextKey in the new scope.
contextKey to update. 36–50 characters.eu). Must be a region available within the token’s scope — see List Contexts.de-DE). Must be one of the new region’s supported locales.| Code | When |
|---|---|
200 | Context updated |
400 | INVALID_TOKEN, INVALID_POST_BODY, or INVALID_PARAMETERS — token is malformed, body isn’t valid JSON, or region/locale aren’t a valid combination for the token’s scope |
401 | fs-secret missing or wrong (only when the project has fetch keys configured) |
404 | TOKEN_NOT_FOUND — token doesn’t exist in this project |