---
title: "PATCH /dashboards/uid/{dashboardUid}/public-dashboards/{uid}"
method: PATCH
path: "/dashboards/uid/{dashboardUid}/public-dashboards/{uid}"
tags: ["dashboards", "dashboard_public"]
---

# PATCH /dashboards/uid/{dashboardUid}/public-dashboards/{uid}

`PATCH /dashboards/uid/{dashboardUid}/public-dashboards/{uid}`

Update public dashboard for a dashboard

## Path parameters

- `dashboardUid` string, required
- `uid` string, required

## Request body

- PublicDashboardDTO
  - `accessToken` string
  - `annotationsEnabled` boolean
  - `isEnabled` boolean
  - `share` string
  - `timeSelectionEnabled` boolean
  - `uid` string

## Response `200`

(empty)

- PublicDashboard
  - `accessToken` string
  - `annotationsEnabled` boolean
  - `createdAt` string, date-time
  - `createdBy` integer
  - `dashboardUid` string
  - `isEnabled` boolean
  - `recipients` EmailDTO[]
    - `recipient` string
    - `uid` string
  - `share` string
  - `timeSelectionEnabled` boolean
  - `uid` string
  - `updatedAt` string, date-time
  - `updatedBy` integer

## Other responses

- `400` — BadRequestPublicError is returned when the request is invalid and it cannot be processed.
- `401` — UnauthorisedPublicError is returned when the request is not authenticated.
- `403` — ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.
- `500` — InternalServerPublicError is a general error indicating something went wrong internally.

---

[API](https://skmtc.net/grafana/apis/http-api.md) · [All operations](https://skmtc.net/grafana/apis/http-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/grafana/http-api/revisions/df55ba1718ba/schema)
