---
title: "Enable or disable signed embedding for a dashboard"
method: PATCH
path: "/api/v1/embed/dashboard/{publicId}"
tags: ["Embed"]
---

# Enable or disable signed embedding for a dashboard

`PATCH /api/v1/embed/dashboard/{publicId}`

## Path parameters

- `publicId` string, required

## Request body

- 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 /api/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`

- DashboardEmbeddingResponse
  - `allowEmbed` boolean, required
  - `publicId` string, required

---

[API](https://skmtc.net/cube-js/apis/cube-cloud-rest-api.md) · [All operations](https://skmtc.net/cube-js/apis/cube-cloud-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cube-js/cube-cloud-rest-api/revisions/a0c6b1d2ac96/schema)
