Skip to main content
PATCH
Enable or disable signed embedding for a dashboard
🔒 Admin only. Requires administrator privileges — the authenticated principal (API key, embed JWT, or any bearer token) must belong to a user with the admin role. Sets the dashboard’s “Allow signed embedding” flag (allowEmbed), which gates the customer-signed embedding path: with the flag off, embed sessions fetching GET /v1/embed/dashboard/{publicId} receive 403. Trusted cube-cloud session flows (screenshoter, creator mode) and dashboards shared with all embed users are not affected by this flag. Note that the flag alone does not make a dashboard embeddable — it must also be published and shared with the embed tenant. Returns 404 if the dashboard does not exist.

Authorizations

Authorization
string
header
required

Token authentication. Send Authorization: Bearer <YOUR_TOKEN>.

Path Parameters

publicId
string
required

Body

application/json

UpdateDashboardEmbeddingInput

allowEmbed
boolean
required

Whether customer-signed embedding is allowed for this dashboard ("Allow signed embedding" in the UI). true lets embed sessions fetch the dashboard via GET /v1/embed/dashboard/{publicId}; false makes that fetch return 403. Does not affect creator-mode sessions or dashboards shared with all embed users.

Response

200 - application/json
allowEmbed
boolean
required
publicId
string
required