Embed Tokens

Update Embed Token Endpoint

Update embed token allowed_origins.

Null clears restrictions. Non-empty origin restrictions require advanced sharing controls.

patch/maps/{map_id}/embed-tokens/{token_id}/

Request

  • The document declares no server URL.
  • Auth: one of:
    • OAuth 2 (password, token URL /api/auth/login)
    • API key in header X-Api-Key
    • API key in query parameter api_key

Path parameters

map_idstring uuid required
token_idstring uuid required

Request body

allowed_originsstring[] nullable

Updated list of allowed embedding origins. Null clears restrictions; non-empty origin restrictions require advanced sharing controls.

Response

Successful Response

idstring uuid required
map_idstring uuid required
namestring nullable
token_hintstring required
scoped_dataset_idsstring[] required
allowed_originsstring[] nullable
expires_atstring date-time required
is_activeboolean required
use_countinteger
last_used_atstring date-time nullable
created_atstring date-time required

Changes

No recorded changes to this operation across all 50 revisions of this API.