docs: Adjust the update command documentation of the public dashboard endpoint (#77925)

pull/80615/head
Pascal Zimmermann 1 year ago committed by GitHub
parent 289bfc070e
commit 1129f80746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      docs/sources/developers/http_api/dashboard_public.md

@ -111,7 +111,9 @@ Content-Length: 107
## Update a public dashboard
`PATCH /api/dashboards/uid/:uid/public-dashboards/`
`PATCH /api/dashboards/uid/:uid/public-dashboards/:publicDashboardUid`
Will update the public dashboard given the specified unique identifier (uid).
**Required permissions**
@ -124,7 +126,7 @@ See note in the [introduction](#public-dashboard-api) for an explanation.
**Example Request for updating a public dashboard**:
```http
PATCH /api/dashboards/uid/xCpsVuc4z/public-dashboards/ HTTP/1.1
PATCH /api/dashboards/uid/xCpsVuc4z/public-dashboards/cd56d9fd-f3d4-486d-afba-a21760e2acbe HTTP/1.1
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk

Loading…
Cancel
Save