v1

latestOpenAPI 3.0.32026-07-14314472448.6 KB
dashboards
versions

Restore a dashboard to a given dashboard version using UID.

This API will be removed when /apis/dashboard.grafana.app/v1 is released. You can restore a dashboard by reading it from history, then creating it again.

post/dashboards/uid/{uid}/restore

Path parameters

uidstring required

Request body

versioninteger

Response

(empty)

folderUidstring

FolderUID The unique identifier (uid) of the folder the dashboard belongs to.

idinteger required

ID The unique identifier (id) of the created/updated dashboard.

statusstring required

Status status of the response.

titlestring required

Slug The slug of the dashboard.

uidstring required

UID The unique identifier (uid) of the created/updated dashboard.

urlstring required

URL The relative URL for accessing the created/updated dashboard.

versioninteger required

Version The version of the dashboard.

Example response

{
  "id": 1,
  "status": "success",
  "title": "my-dashboard",
  "uid": "nHz3SXiiz",
  "url": "/d/nHz3SXiiz/my-dashboard",
  "version": 2
}